Ⅰ. 插件描述
Open files from NERDtree as if you opened it from your file browser.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'erichdongubler/nerdtree-plugin-open-in-file-browser'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'erichdongubler/nerdtree-plugin-open-in-file-browser'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'erichdongubler/nerdtree-plugin-open-in-file-browser'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/erichdongubler/nerdtree-plugin-open-in-file-browser
Ⅳ. 文档说明
## nerdtree-open-in-file-browser
nerdtree-open-in-file-browser extends Nerdtree with the ability to open files with an application determined by your graphical file browser, independent of vim.
This plugin is forked from aufgang001/vim-nerdtree_plugin_open, and modified to use the abstraction layer I wrote for opening files. It should work out-of-the-box on more platforms, even on Git Bash and Cygwin.
Install
My favorite is VimPlug:
Plug 'ErichDonGubler/nerdtree-plugin-open-in-file-browser' | Plug 'ErichDonGubler/vim-file-browser-integration'Usage
Demo GIF:

From NERDTree, select an arbitrary file or directory and press E to open it.
If it doesn't Simply Work, then file a bug for this plugin's dependency vim-file-browser-integration.