From 1eaa2ff3339c550c2728a5bc59354dfacbff0d68 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 27 Apr 2023 21:28:45 +0100 Subject: [PATCH] Restore git barbar keymaps --- config/nvim/lua/config/keymaps.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/nvim/lua/config/keymaps.lua b/config/nvim/lua/config/keymaps.lua index 62e8f02e..a8164122 100644 --- a/config/nvim/lua/config/keymaps.lua +++ b/config/nvim/lua/config/keymaps.lua @@ -60,11 +60,11 @@ local map = vim.keymap.set local opts = { noremap = true, silent = true } -- Move to previous/next -map('n', '', 'BufferPrevious', opts) -map('n', '', 'BufferNext', opts) +map('n', '', 'BufferPrevious', opts) +map('n', '', 'BufferNext', opts) -- Re-order to previous/next -map('n', '', 'BufferMovePrevious', opts) -map('n', '', 'BufferMoveNext', opts) +map('n', '', 'BufferMovePrevious', opts) +map('n', '>', 'BufferMoveNext', opts) -- Goto buffer in position... map('n', '', 'BufferGoto 1', opts) map('n', '', 'BufferGoto 2', opts)