From b2651ab24a807a2cebf8878620a4a35129bfbbf2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 23 Feb 2024 13:30:57 +0800 Subject: [PATCH] perf(git): open remote branch log in new tab --- bundle/git.vim/lua/git/ui/remote.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/git.vim/lua/git/ui/remote.lua b/bundle/git.vim/lua/git/ui/remote.lua index 4cabefa3c..b25c4f032 100644 --- a/bundle/git.vim/lua/git/ui/remote.lua +++ b/bundle/git.vim/lua/git/ui/remote.lua @@ -145,7 +145,7 @@ end local function view_git_log() local cursor_info = get_cursor_info() if cursor_info.branch then - log.debug('run command:' .. 'Git log ' .. cursor_info.branch) + log.debug('run command:' .. 'tabnew | Git log ' .. cursor_info.branch) vim.api.nvim_command('Git log ' .. cursor_info.branch) end end