Restore git barbar keymaps
This commit is contained in:
parent
8d0e91ef0c
commit
1eaa2ff333
|
@ -60,11 +60,11 @@ local map = vim.keymap.set
|
|||
local opts = { noremap = true, silent = true }
|
||||
|
||||
-- Move to previous/next
|
||||
map('n', '<A-[>', '<Cmd>BufferPrevious<CR>', opts)
|
||||
map('n', '<A-]>', '<Cmd>BufferNext<CR>', opts)
|
||||
map('n', '<A-,>', '<Cmd>BufferPrevious<CR>', opts)
|
||||
map('n', '<A-.>', '<Cmd>BufferNext<CR>', opts)
|
||||
-- Re-order to previous/next
|
||||
map('n', '<A-{>', '<Cmd>BufferMovePrevious<CR>', opts)
|
||||
map('n', '<A-}>', '<Cmd>BufferMoveNext<CR>', opts)
|
||||
map('n', '<A-<>', '<Cmd>BufferMovePrevious<CR>', opts)
|
||||
map('n', '<A->>', '<Cmd>BufferMoveNext<CR>', opts)
|
||||
-- Goto buffer in position...
|
||||
map('n', '<A-1>', '<Cmd>BufferGoto 1<CR>', opts)
|
||||
map('n', '<A-2>', '<Cmd>BufferGoto 2<CR>', opts)
|
||||
|
|
Loading…
Reference in a new issue