diff --git a/config/nvim/lua/config/keymaps.lua b/config/nvim/lua/config/keymaps.lua index 7860976d..b88b1f67 100644 --- a/config/nvim/lua/config/keymaps.lua +++ b/config/nvim/lua/config/keymaps.lua @@ -8,7 +8,7 @@ vim.keymap.set("n", "gg", "Neogit kind=split") vim.keymap.set("n", "cc", "Neogit commit") vim.keymap.set("n", "gp", "Neogit kind=split pull") vim.keymap.set("n", "gP", "Neogit kind=split push") -vim.keymap.set("n", "t", "ToggleTerm") +vim.keymap.set("n", "tt", "ToggleTerm direction=horizontal") vim.keymap.set({ "n", "t" }, "", "NavigatorLeft") vim.keymap.set({ "n", "t" }, "", "NavigatorRight") vim.keymap.set({ "n", "t" }, "", "NavigatorUp") @@ -76,6 +76,7 @@ map('n', '', 'BufferLast', opts) map('n', '', 'BufferPin', opts) -- Close buffer map('n', '', 'BufferClose', opts) +map('n', '', 'BufferCloseAllButCurrentOrPinned', opts) -- Wipeout buffer -- :BufferWipeout -- Close commands