diff options
author | KSR-Yasuda <31273423+KSR-Yasuda@users.noreply.github.com> | 2023-10-06 03:37:15 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 20:37:15 +0200 |
commit | 0e958410046aa764ec73b14b1d2839053b31d242 (patch) | |
tree | 8ed130660a27536698661ef02d1a5c072bcb1010 /runtime/autoload | |
parent | f449825ae23865437a74ea4140fd32780c02ce43 (diff) |
runtime(netrw): diff (`df`) may open the wrong window (#13275)
closes: #11359
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/netrw.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim index e3ac12ffb5..2358e2627b 100644 --- a/runtime/autoload/netrw.vim +++ b/runtime/autoload/netrw.vim @@ -7392,8 +7392,7 @@ fun! s:NetrwMarkFileDiff(islocal) exe "NetrwKeepj e ".fnameescape(fname) diffthis elseif cnt == 2 || cnt == 3 - vsplit - wincmd l + below vsplit " call Decho("diffthis: ".fname,'~'.expand("<slnum>")) exe "NetrwKeepj e ".fnameescape(fname) diffthis |