Change git push keybinding to <leader>gX

writing
Nick Zana 3 years ago
parent 5d94386c51
commit a56462a7ca
No known key found for this signature in database
GPG Key ID: A6E59E60FE474883

@ -45,7 +45,7 @@ map('n', '<leader>q', '<cmd>call ToggleQFList(0)<CR>', {}) -- see plugin/navigat
-- git -- git
map('n', '<leader>gs', '<cmd>G<CR>', options) -- Show git status map('n', '<leader>gs', '<cmd>G<CR>', options) -- Show git status
map('n', '<leader>gc', '<cmd>G commit<CR>', options) -- git commit map('n', '<leader>gc', '<cmd>G commit<CR>', options) -- git commit
map('n', '<leader>gp', '<cmd>G push<CR>', {}) -- git push map('n', '<leader>gX', '<cmd>G push<CR>', {}) -- git push
-- LSP -- LSP
-- Use an on_attach function to only map the following keys -- Use an on_attach function to only map the following keys

Loading…
Cancel
Save