如何在vim中使netrw像Visual Studio中的解决方案浏览器那样工作

好的,我会在这里做得更清楚
我有一个垂直分割窗口中的目录列表,以及我正在编辑的文件

我可以使用Ctrl w从一个分割到另一个分割
并使用netrw插件以四种方式打开文件列表中的文件
使用返回键,v,o,t ..

使用返回键,它将在当前(netrw)拆分窗口中打开。
与v,它创建一个新的垂直拆分..(与o(水平拆分),t(新选项卡))

但是我想要的文件在已经在那里的其他分裂打开,我做所有的编辑…打开一个新的分裂..我希望我的问题是明确的..通过键入一个命令,突出显示文件将打开编辑分割而不是netrw分割..
必须有一些简单的解决方案,或者有人可以告诉我最好的方式来使用netrw ..我会尽力适应..

答案在doc:h netrw。照常。

你在找P:

To edit a file or directory in the prevIoUsly used (last accessed) window (see
:he CTRL-W_p),press a "P".  If there's only one window,then the one window
will be horizontally split (above/below splitting is controlled by
g:netrw_alto,and its initial size is controlled by g:netrw_winsize).

If there's more than one window,the prevIoUs window will be re-used on
the selected file/directory.  If the prevIoUs window's associated buffer
has been modified,and there's only one window with that buffer,then
the user will be asked if s/he wishes to save the buffer first (yes,no,or cancel).

相关文章

解决方案:解决linux下vim乱码的情况:(修改vimrc的内容)全...
Linuxvi/vim所有的UnixLike系统都会内建vi文书编辑器,其他的...
      vim正则匹配:空行:/^$/  /^[\t]*$/注释...
$select-editorSelectaneditor.Tochangelater,run'sele...
上次手贱忘了保存,这次就简单做个备忘吧,把踩过的坑记一下...
Linux之文本编译器小结vim的优势所有的UNIX-LIKE习通都会内置...