Skip to content

Commit b068eaf

Browse files
committed
Drop */# maps in visual mode
Resolves: #2374
1 parent d74a7cf commit b068eaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/fugitive.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8030,8 +8030,8 @@ function! fugitive#MapJumps(...) abort
80308030
call s:MapMotion(']]', 'exe <SID>NextSection(v:count1)')
80318031
call s:MapMotion('[]', 'exe <SID>PreviousSectionEnd(v:count1)')
80328032
call s:MapMotion('][', 'exe <SID>NextSectionEnd(v:count1)')
8033-
call s:Map('nxo', '*', '<SID>PatchSearchExpr(0)', '<expr>')
8034-
call s:Map('nxo', '#', '<SID>PatchSearchExpr(1)', '<expr>')
8033+
call s:Map('no', '*', '<SID>PatchSearchExpr(0)', '<expr>')
8034+
call s:Map('no', '#', '<SID>PatchSearchExpr(1)', '<expr>')
80358035
endif
80368036
call s:Map('n', 'S', ':<C-U>echoerr "Use gO"<CR>', '<silent><unique>')
80378037
call s:Map('n', 'dq', ":<C-U>call fugitive#DiffClose()<CR>", '<silent>')

0 commit comments

Comments
 (0)