Skip to content

Commit f254614

Browse files
gO to open commit in a vertical split
1 parent 41beeda commit f254614

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

autoload/fugitive.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7312,6 +7312,7 @@ function! s:BlameMaps(is_ftplugin) abort
73127312
call s:Map('n', '~', ':<C-U>exe <SID>BlameJump("~".v:count1)<CR>', '<silent>', ft)
73137313
call s:Map('n', 'i', ':<C-U>exe <SID>BlameCommit("exe <SID>BlameLeave()<Bar>edit")<CR>', '<silent>', ft)
73147314
call s:Map('n', 'o', ':<C-U>exe <SID>BlameCommit("split")<CR>', '<silent>', ft)
7315+
call s:Map('n', 'gO', ':<C-U>exe <SID>BlameCommit("vsplit")<CR>', '<silent>', ft)
73157316
call s:Map('n', 'O', ':<C-U>exe <SID>BlameCommit("tabedit")<CR>', '<silent>', ft)
73167317
call s:Map('n', 'p', ':<C-U>exe <SID>BlameCommit("pedit")<CR>', '<silent>', ft)
73177318
exe s:Map('n', '.', ":<C-U> <C-R>=substitute(<SID>BlameCommitFileLnum()[0],'^$','@','')<CR><Home>", '', ft)

doc/fugitive.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ that are part of Git repositories).
6868
<CR> close blame, and jump to patch that added line
6969
(or directly to blob for boundary commit)
7070
o jump to patch or blob in horizontal split
71+
gO jump to patch or blob in vertical split
7172
O jump to patch or blob in new tab
7273
p jump to patch or blob in preview window
7374
- reblame at commit

0 commit comments

Comments
 (0)