From 55d2488635f81916d092c81e6ec79740f7b45461 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Wed, 19 Jul 2023 02:14:31 +0530 Subject: nvim: bufferline config changes + options indentfix + keymap changes for nvimtree --- .config/nvim/lua/justsaumit/keymaps.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.config/nvim/lua/justsaumit/keymaps.lua') diff --git a/.config/nvim/lua/justsaumit/keymaps.lua b/.config/nvim/lua/justsaumit/keymaps.lua index ebe355a..582113c 100644 --- a/.config/nvim/lua/justsaumit/keymaps.lua +++ b/.config/nvim/lua/justsaumit/keymaps.lua @@ -32,9 +32,10 @@ vim.cmd([[autocmd BufEnter *.cpp map :w :!g++ % -o %< && ./%< ]]) --Save file with Ctrl+S keymap("n", "", ":w", opts) --Toggle nvim-tree -keymap("n", "", ":NvimTreeToggle", opts) +keymap('n', '', ':NvimTreeToggle', opts) +keymap('n', 'e', ':NvimTreeToggle', opts) --Disable C-e -keymap("n", "", ":", opts) +-- keymap("n", "", ":", opts) -- Better window navigation for split keymap("n", "", "h", opts) -- cgit v1.2.3