summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/justsaumit/keymaps.lua
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-07-19 02:14:31 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-07-19 02:14:31 +0530
commit55d2488635f81916d092c81e6ec79740f7b45461 (patch)
tree4a69c83074f8cd53cb2fcec4ba7ef08513df19a6 /.config/nvim/lua/justsaumit/keymaps.lua
parentcb7bcee2f75e3e078a1776998ff759b1d281d515 (diff)
nvim: bufferline config changes + options indentfix + keymap changes for nvimtree
Diffstat (limited to '.config/nvim/lua/justsaumit/keymaps.lua')
-rw-r--r--.config/nvim/lua/justsaumit/keymaps.lua5
1 files changed, 3 insertions, 2 deletions
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 <F4> :w <CR> :!g++ % -o %< && ./%< <CR>]])
--Save file with Ctrl+S
keymap("n", "<C-s>", ":w<CR>", opts)
--Toggle nvim-tree
-keymap("n", "<m-e>", ":NvimTreeToggle<CR>", opts)
+keymap('n', '<C-e>', ':NvimTreeToggle<CR>', opts)
+keymap('n', '<leader>e', ':NvimTreeToggle<CR>', opts)
--Disable C-e
-keymap("n", "<c-e>", ":<CR>", opts)
+-- keymap("n", "<C-e>", ":<CR>", opts)
-- Better window navigation for split
keymap("n", "<C-h>", "<C-w>h", opts)