From 58655c94ce9771bab1022d5bdbaedde1a897707f Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 28 Aug 2023 16:03:29 +0530 Subject: config/nvim: update keybindings --- .config/nvim/init.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index c62c1f6..d88794d 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -36,6 +36,7 @@ map("n", "", ":bd!") map("t", "", ":bd!") map("n", "", ":close") map("t", "", "") +mapnl("n", ":nohlsearch") -- splits map("n", "", "h") map("n", "", "j") @@ -50,14 +51,14 @@ map("n", "t", ":vsplit:terminali") map("t", "t", ":q") -- buffer map("t", "j", ":bprevious") -map("t", "k", ":bNext") +map("t", "k", ":bnext") mapnl("j", ":bprevious") -mapnl("k", ":bNext") +mapnl("k", ":bnext") -- tabs map("t", "h", ":tabprevious") -map("t", "l", ":tabNext") +map("t", "l", ":tabnext") mapnl("h", ":tabprevious") -mapnl("l", ":tabNext") +mapnl("l", ":tabnext") -- files mapnl("e", ":Lex") -- column hint -- cgit v1.2.3