diff --git a/.config/nvim/lua/user/keymaps.lua b/.config/nvim/lua/user/keymaps.lua index 29c8c9c..1661b78 100644 --- a/.config/nvim/lua/user/keymaps.lua +++ b/.config/nvim/lua/user/keymaps.lua @@ -7,8 +7,6 @@ vim.g.mapleader = " " vim.g.maplocalleader = " " -- Better escape -map("v", "jj", "", opts) -map("x", "jj", "", opts) map("i", "jj", "", opts) -- Configuration @@ -56,7 +54,7 @@ map("n", "]", "vertical resize +8", opts) -- File explorer map("n", "", ":NvimTreeFindFile", opts) -map("n", "f", ":NvimTreeClose", opts) +map("n", "f", ":NvimTreeToggle", opts) -- Preserve visual paste map("v", "p", '"_dP', opts) diff --git a/.vimrc b/.vimrc index 79d9314..b0fd680 100644 --- a/.vimrc +++ b/.vimrc @@ -51,8 +51,6 @@ let mapleader = "\" " Better Escape inoremap jj -cnoremap jj -vnoremap jj " Configuration nnoremap se :e $MYVIMRC