From 8b16b56386dc2227ca89aebccac8cb17f6f923bb Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Thu, 7 Mar 2024 14:19:29 +0100 Subject: [PATCH] [g]it [s]tatus keymap, use current window --- lua/keymaps.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index cc61d76..7658267 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -40,8 +40,8 @@ vim.keymap.set('v', 'pny', '"_dP', { desc = '[P]aste [N]o [Y]ank' }) -- Populate CMD to prepare for change directory vim.keymap.set('n', 'cd', ':cd ', { desc = 'Prepare CMD for [C]hange [D]irectory' }) --- Open git window from fugitive in full screen -vim.keymap.set({ 'n', 'v' }, 'go', ':Gito', { desc = '[G]it [O]pen' }) +-- Switch in fugitive.vim status window with the current one +vim.keymap.set('n', 'gs', 'Gedit :', { desc = '[G]it [S]tatus' }) -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands`