diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/lua/keybinds.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua index 5d94697..800eaab 100644 --- a/.config/nvim/lua/keybinds.lua +++ b/.config/nvim/lua/keybinds.lua @@ -13,6 +13,11 @@ vim.api.nvim_command("inoremap <A-j> <Esc>:m .+1<CR>==gi") vim.api.nvim_command("vnoremap <A-j> :m '>+1<CR>gv=gv") vim.api.nvim_command("vnoremap <A-k> :m '<-2<CR>gv=gv") +vim.keymap.set("i", "<C-a>", "<Home>") +vim.keymap.set("i", "<C-e>", "<End>") +vim.keymap.set("i", "<A-f>", "<C-Right>") +vim.keymap.set("i", "<A-b>", "<C-Left>") + 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) |