diff options
Diffstat (limited to '.config/nvim/lua/keybinds.lua')
-rw-r--r-- | .config/nvim/lua/keybinds.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua index 8f2de84..3d4eac2 100644 --- a/.config/nvim/lua/keybinds.lua +++ b/.config/nvim/lua/keybinds.lua @@ -16,14 +16,14 @@ vim.api.nvim_command("vnoremap <A-k> :m '<-2<CR>gv=gv") vim.keymap.set("n", "<Leader>n", nt_api.tree.toggle) vim.keymap.set("n", "<Leader><CR>", vim.lsp.buf.code_action) vim.keymap.set("n", "<Leader>K", vim.lsp.buf.hover) -vim.keymap.set("n", "<Leader>D", vim.lsp.buf.definition) -vim.keymap.set("n", "<Leader>R", vim.lsp.buf.references) -vim.keymap.set("n", "<Leader>F", vim.lsp.buf.formatting) +vim.keymap.set("n", "<Leader>F", vim.lsp.buf.format) vim.keymap.set("n", "<Leader>d", vim.diagnostic.open_float) vim.keymap.set("n", "<Leader>J", vim.lsp.buf.signature_help) vim.keymap.set("n", "<Leader>f", telescope.find_files) vim.keymap.set("n", "<Leader><TAB>", telescope.buffers) +vim.keymap.set("n", "<Leader>D", telescope.lsp_definitions) +vim.keymap.set("n", "<Leader>R", telescope.lsp_references) vim.keymap.set("n", "<Leader>m", ":MinimapToggle<CR>") vim.keymap.set("n", "<Leader>,", ":TroubleToggle<CR>") |