https://github.com/paulondc/vim-nerdtree-open-externally
:rabbit2: Provides a quick way to open the current item in NERDTree with the default desktop application associated with it :rabbit2:
https://github.com/paulondc/vim-nerdtree-open-externally
nerdtree nerdtree-plugin vim vim-plugin
Last synced: 3 months ago
JSON representation
:rabbit2: Provides a quick way to open the current item in NERDTree with the default desktop application associated with it :rabbit2:
- Host: GitHub
- URL: https://github.com/paulondc/vim-nerdtree-open-externally
- Owner: paulondc
- License: mit
- Created: 2018-10-28T21:57:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-05T03:51:02.000Z (about 6 years ago)
- Last Synced: 2025-01-18T02:43:56.315Z (5 months ago)
- Topics: nerdtree, nerdtree-plugin, vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 475 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
## Introduction
This is fairly simple plugin for [vim](https://neovim.io/) that provides a way of launching the current item in [NERDTree](https://github.com/scrooloose/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:```vim
let g:nerdTreeOpenExternallyMap = "e"
```This plugin supports Linux, MacOS and Windows.
![]()
## Installation
Make sure you have [NERDTree](https://github.com/scrooloose/nerdtree) installed locally.
#### [VimPlug](https://github.com/junegunn/vim-plug)
Add the configuration below after [NERDTree](https://github.com/scrooloose/nerdtree) plugin in your vim configuration (neovim: `~/.config/nvim/init.vim`, vim: `~/.vimrc`):
```vim
Plug 'paulondc/vim-nerdtree-open-externally'
```Then run the following in Vim:
```vim
:source %
:PlugInstall
```## Issues
vim-nerdtree-open-externally development discussions and bug reports are collected on [Issues](https://github.com/paulondc/vim-nerdtree-open-externally/issues)## Acknowledgements
vim-nerdtree-open-externally was initially based on [vim-nerdtree_plugin_open](https://github.com/woelke/vim-nerdtree_plugin_open)## License
vim-nerdtree-open-externally is free software; you can redistribute it and/or modify it under the terms of the MIT License