Skip to content

Commit 1e5b67d

Browse files
mao-yininghabamax
authored andcommitted
fix: add keepj for <C-r>
1 parent bf52b19 commit 1e5b67d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ftplugin/dir.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ xnoremap <buffer><nowait> s <nop>
6464
nnoremap <buffer><nowait> t <scriptcmd>action.Do("tabe")<cr>
6565
nnoremap <buffer><nowait> i <scriptcmd>action.DoInfo()<cr>
6666
nnoremap <buffer><nowait> <F3> <scriptcmd>action.DoInfo()<cr>
67-
nnoremap <buffer><nowait> <C-r> <scriptcmd>edit<cr>
67+
nnoremap <buffer><nowait> <C-r> <scriptcmd>keepj edit<cr>
6868
6969

7070
noremap <buffer><nowait> x <scriptcmd>action.DoMarkToggle()<cr>j

0 commit comments

Comments
 (0)