From fddba892f33c76bd07453f06db19e3a646d93eca Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Mon, 24 Oct 2022 12:06:43 -0400 Subject: [PATCH] Fix GBrowse shortcut --- lua/plugins/fugitive.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/fugitive.lua b/lua/plugins/fugitive.lua index c53cbf6..4711d1b 100644 --- a/lua/plugins/fugitive.lua +++ b/lua/plugins/fugitive.lua @@ -7,5 +7,5 @@ vim.keymap.set('n', 'gp', [[Git push]], { noremap = false, sile vim.keymap.set('n', 'gf', [[Git push --force]], { noremap = false, silent = true }) vim.keymap.set('n', 'gu', [[Git pull]], { noremap = false, silent = true }) vim.keymap.set('n', 'gh', [[Git diff --cached]], { noremap = false, silent = true }) -vim.keymap.set('n', 'go', [[Gbrowse]], { noremap = false, silent = true }) -vim.keymap.set('v', 'go', [[Gbrowse]], { noremap = false, silent = true }) +vim.keymap.set('n', 'go', [[GBrowse]], { noremap = false, silent = true }) +vim.keymap.set('v', 'go', [['<,'>GBrowse]], { noremap = false, silent = true })