From f047e7db9ca26b6e092c0f6b30f73ba4f3a10a6a Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Thu, 25 Jan 2024 13:00:36 -0600 Subject: [PATCH] show branch names in git graph view --- lua/plugins/fugitive.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/fugitive.lua b/lua/plugins/fugitive.lua index db236f84..af264934 100644 --- a/lua/plugins/fugitive.lua +++ b/lua/plugins/fugitive.lua @@ -3,7 +3,7 @@ return { 'tpope/vim-fugitive', vim.keymap.set('n', 'gs', 'Git', { desc = '[G]it [S]tatus' }); vim.keymap.set('n', 'ga', 'Git add -A', { desc = 'Stage [A]ll [G]it files' }); vim.keymap.set('n', 'gc', 'Git commit', { desc = '[C]ommit staged [G]it files' }); - vim.keymap.set('n', 'gg', 'Git log --graph --oneline', { desc = '[G]it log [G]raph' }); + vim.keymap.set('n', 'gg', 'Git log --graph --oneline --decorate=short', { desc = '[G]it log [G]raph' }); vim.keymap.set('n', 'gb', 'Git blame', { desc = '[G]it [B]lame' }); end };