add buffer switching keymaps

This commit is contained in:
krolxon 2024-09-01 22:49:33 +05:30
parent 87ce731d6e
commit e5d551620b
1 changed files with 4 additions and 0 deletions

View File

@ -13,3 +13,7 @@ map("i", "jk", "<ESC>")
map({ "n", "t" }, "<C-\\>", function()
require("nvchad.term").toggle { pos = "float", id = "floatTerm" }
end, { desc = "terminal toggle floating term" })
-- cycleling through buffers
map("n", "tk", "<cmd> bnext <CR>", {desc = "Next Buffer"})
map("n", "tj", "<cmd> bprev <CR>", {desc = "Previous Buffer"})