Restore git barbar keymaps

This commit is contained in:
Evie Litherland-Smith 2023-04-27 21:28:45 +01:00
parent 8d0e91ef0c
commit 1eaa2ff333

View file

@ -60,11 +60,11 @@ local map = vim.keymap.set
local opts = { noremap = true, silent = true } local opts = { noremap = true, silent = true }
-- Move to previous/next -- Move to previous/next
map('n', '<A-[>', '<Cmd>BufferPrevious<CR>', opts) map('n', '<A-,>', '<Cmd>BufferPrevious<CR>', opts)
map('n', '<A-]>', '<Cmd>BufferNext<CR>', opts) map('n', '<A-.>', '<Cmd>BufferNext<CR>', opts)
-- Re-order to previous/next -- Re-order to previous/next
map('n', '<A-{>', '<Cmd>BufferMovePrevious<CR>', opts) map('n', '<A-<>', '<Cmd>BufferMovePrevious<CR>', opts)
map('n', '<A-}>', '<Cmd>BufferMoveNext<CR>', opts) map('n', '<A->>', '<Cmd>BufferMoveNext<CR>', opts)
-- Goto buffer in position... -- Goto buffer in position...
map('n', '<A-1>', '<Cmd>BufferGoto 1<CR>', opts) map('n', '<A-1>', '<Cmd>BufferGoto 1<CR>', opts)
map('n', '<A-2>', '<Cmd>BufferGoto 2<CR>', opts) map('n', '<A-2>', '<Cmd>BufferGoto 2<CR>', opts)