New keymaps for toggleterm and deleting buffers
This commit is contained in:
parent
a3c55ceede
commit
fe492f7396
|
@ -8,7 +8,7 @@ vim.keymap.set("n", "<leader>gg", "<cmd>Neogit kind=split<CR>")
|
|||
vim.keymap.set("n", "<leader>cc", "<cmd>Neogit commit<CR>")
|
||||
vim.keymap.set("n", "<leader>gp", "<cmd>Neogit kind=split pull<CR>")
|
||||
vim.keymap.set("n", "<leader>gP", "<cmd>Neogit kind=split push<CR>")
|
||||
vim.keymap.set("n", "<leader>t", "<cmd>ToggleTerm<CR>")
|
||||
vim.keymap.set("n", "<leader>tt", "<cmd>ToggleTerm direction=horizontal<CR>")
|
||||
vim.keymap.set({ "n", "t" }, "<A-h>", "<CMD>NavigatorLeft<CR>")
|
||||
vim.keymap.set({ "n", "t" }, "<A-l>", "<CMD>NavigatorRight<CR>")
|
||||
vim.keymap.set({ "n", "t" }, "<A-k>", "<CMD>NavigatorUp<CR>")
|
||||
|
@ -76,6 +76,7 @@ map('n', '<A-0>', '<Cmd>BufferLast<CR>', opts)
|
|||
map('n', '<A-p>', '<Cmd>BufferPin<CR>', opts)
|
||||
-- Close buffer
|
||||
map('n', '<A-c>', '<Cmd>BufferClose<CR>', opts)
|
||||
map('n', '<A-C>', '<Cmd>BufferCloseAllButCurrentOrPinned<CR>', opts)
|
||||
-- Wipeout buffer
|
||||
-- :BufferWipeout
|
||||
-- Close commands
|
||||
|
|
Loading…
Reference in a new issue