Skip to content

Commit dceaea0

Browse files
gO to open commit in a vertical split
1 parent 43f18ab commit dceaea0

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
@@ -7258,6 +7258,7 @@ function! s:BlameMaps(is_ftplugin) abort
72587258
call s:Map('n', '~', ':<C-U>exe <SID>BlameJump("~".v:count1)<CR>', '<silent>', ft)
72597259
call s:Map('n', 'i', ':<C-U>exe <SID>BlameCommit("exe <SID>BlameLeave()<Bar>edit")<CR>', '<silent>', ft)
72607260
call s:Map('n', 'o', ':<C-U>exe <SID>BlameCommit("split")<CR>', '<silent>', ft)
7261+
call s:Map('n', 'gO', ':<C-U>exe <SID>BlameCommit("vsplit")<CR>', '<silent>', ft)
72617262
call s:Map('n', 'O', ':<C-U>exe <SID>BlameCommit("tabedit")<CR>', '<silent>', ft)
72627263
call s:Map('n', 'p', ':<C-U>exe <SID>BlameCommit("pedit")<CR>', '<silent>', ft)
72637264
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
@@ -67,6 +67,7 @@ that are part of Git repositories).
6767
<CR> close blame, and jump to patch that added line
6868
(or directly to blob for boundary commit)
6969
o jump to patch or blob in horizontal split
70+
gO jump to patch or blob in vertical split
7071
O jump to patch or blob in new tab
7172
p jump to patch or blob in preview window
7273
- reblame at commit

0 commit comments

Comments
 (0)