[英]vim - NERDTree open in new window / instance of VIM?
I use gvim and I use NERDTree and i'm wondering if there is a way for me to open a file from NERDTree in a new instance / window of VIM? 我使用gvim,使用NERDTree,我想知道是否有办法在新的VIM实例/窗口中从NERDTree打开文件? I know how to open in a new tab but I can't figure out how to open it in a completely new window / instance of vim. 我知道如何在新选项卡中打开,但我不知道如何在全新的窗口/ vim实例中打开它。
You can launch a file in a separate GVIM instance via this: 您可以通过以下方式在单独的GVIM实例中启动文件:
:silent execute '! gvim' shellescape(filename, 1)
For Windows, use !start
instead of !
对于Windows,使用!start
代替!
. 。
NERDTree has great documentation on how to extend it. NERDTree具有有关如何扩展它的出色文档。 See :help NERDTreeKeymapAPI
and :help NERDTreeMenuAPI
. 参见:help NERDTreeKeymapAPI
和:help NERDTreeMenuAPI
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.