added: rename and neogit shortcut
This commit is contained in:
parent
c02043fee2
commit
87c035dbcf
@ -16,4 +16,6 @@ vim.keymap.set('n', 'gl', '$', { remap = true })
|
||||
vim.keymap.set('v', '<leader>c', function () vim.cmd('\'<,\'>Commentary') end, { noremap = true, silent = true })
|
||||
vim.keymap.set('n', '<leader>c', function () vim.cmd('Commentary') end, { noremap = true, silent = true })
|
||||
|
||||
vim.keymap.set('v', '<leader>g', function () vim.cmd('Neogit') end, { noremap = true, silent = true })
|
||||
|
||||
vim.keymap.set("n", "<C-F>", "<cmd>NvimTreeToggle<CR>", { silent = true })
|
||||
|
@ -121,8 +121,8 @@ keymap("n", "<leader>t", "<cmd>terminal<CR>", { silent = true })
|
||||
keymap({"n","v"}, "<leader>ca", function () saga.code_action() end, {})
|
||||
keymap("n", "gr", "<cmd>Lspsaga rename<CR>", { silent = true })
|
||||
keymap("n", "gd", "<cmd>Lspsaga peek_definition<CR>", { silent = true })
|
||||
--keymap("n", "<leader>cd", "<cmd>Lspsaga show_line_diagnostics<CR>", { silent = true })
|
||||
keymap("n", "<leader>cd", "<cmd>Lspsaga show_cursor_diagnostics<CR>", { silent = true })
|
||||
keymap("n", "<leader>cr", "<cmd>Lspsaga rename<CR>", { silent = true })
|
||||
keymap('n', '<leader>e', '<cmd>lua vim.diagnostic.open_float()<CR>', { silent = true })
|
||||
keymap("n", "[e", "<cmd>Lspsaga diagnostic_jump_prev<CR>", { silent = true })
|
||||
keymap("n", "]e", "<cmd>Lspsaga diagnostic_jump_next<CR>", { silent = true })
|
||||
|
Loading…
Reference in New Issue
Block a user