This is fairly simple plugin for vim that provides a way of launching the current item in NERDTree with the default desktop application associated with it. This is done by pressing the key e
on the item you want to open externally (it works with files and directories). Feel free to override the default key mapping to your preferable one via:
let g:nerdTreeOpenExternallyMap = "e"
This plugin supports Linux, MacOS and Windows.
Make sure you have NERDTree installed locally.
Add the configuration below after NERDTree plugin in your vim configuration (neovim: ~/.config/nvim/init.vim
, vim: ~/.vimrc
):
Plug 'paulondc/vim-nerdtree-open-externally'
Then run the following in Vim:
:source %
:PlugInstall
vim-nerdtree-open-externally development discussions and bug reports are collected on Issues
vim-nerdtree-open-externally was initially based on vim-nerdtree_plugin_open
vim-nerdtree-open-externally is free software; you can redistribute it and/or modify it under the terms of the MIT License