diff --git a/lua/keybindings.lua b/lua/keybindings.lua index 203e3e2..8b0044c 100644 --- a/lua/keybindings.lua +++ b/lua/keybindings.lua @@ -38,9 +38,14 @@ map('n', 'q', 'call ToggleQFList(0)', {}) -- see plugin/navigat -- GIT -- top level commands -map('n', 'gs', 'G', options) -- Show git status -map('n', 'gc', 'G commit', options) -- git commit +map('n', 'gs', 'keepalt Git', options) -- Show git status +map('n', 'gc', 'G commit -v', options) -- git commit map('n', 'gp', 'G push', {}) -- git push +map('n', 'gd', 'G diff', options) +map('n', 'gds', 'G diff --staged', options) + +-- staging +map('n', 'dp', 'diffput', options) -- merge map('n', 'gh', 'diffget //2', options) -- merge from left pane