mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-13 00:20:18 +08:00
Drop */# maps in visual mode
Resolves: https://github.com/tpope/vim-fugitive/issues/2374
This commit is contained in:
1 parent
d74a7cff4c
commit
b068eaf1e6
1 file changed
+2
-2
@@ -8030,8 +8030,8 @@ function! fugitive#MapJumps(...) abort
|
|||||||
call s:MapMotion(']]', 'exe <SID>NextSection(v:count1)')
|
call s:MapMotion(']]', 'exe <SID>NextSection(v:count1)')
|
||||||
call s:MapMotion('[]', 'exe <SID>PreviousSectionEnd(v:count1)')
|
call s:MapMotion('[]', 'exe <SID>PreviousSectionEnd(v:count1)')
|
||||||
call s:MapMotion('][', 'exe <SID>NextSectionEnd(v:count1)')
|
call s:MapMotion('][', 'exe <SID>NextSectionEnd(v:count1)')
|
||||||
call s:Map('nxo', '*', '<SID>PatchSearchExpr(0)', '<expr>')
|
call s:Map('no', '*', '<SID>PatchSearchExpr(0)', '<expr>')
|
||||||
call s:Map('nxo', '#', '<SID>PatchSearchExpr(1)', '<expr>')
|
call s:Map('no', '#', '<SID>PatchSearchExpr(1)', '<expr>')
|
||||||
endif
|
endif
|
||||||
call s:Map('n', 'S', ':<C-U>echoerr "Use gO"<CR>', '<silent><unique>')
|
call s:Map('n', 'S', ':<C-U>echoerr "Use gO"<CR>', '<silent><unique>')
|
||||||
call s:Map('n', 'dq', ":<C-U>call fugitive#DiffClose()<CR>", '<silent>')
|
call s:Map('n', 'dq', ":<C-U>call fugitive#DiffClose()<CR>", '<silent>')
|
||||||
|
|||||||
Reference in new issue
Block a user