mortonfox / nerdtree-term

NERDTree plugin to open the selected folder in Terminal
MIT License
1 stars 1 forks source link

Only macvim support #1

Open nbossard opened 4 years ago

nbossard commented 4 years ago

Hello, I made your plugin work... but only in macvim, not in my neovim running in terminal. Probably because of line :

if has("gui_mac") || has("gui_macvim")

Any possibility to improve that ? May be add it to README

nbossard commented 4 years ago

Here is my neovim feature list (retrieved using homebrew) : Features: +acl +iconv +tui

victorseibert commented 3 years ago

Hey,

try this, i think will work

if has("unix") let s:uname = system("uname") if s:uname == "Darwin\n" call NERDTreeAddMenuItem({'text': 'open shell in (t)erminal', 'shortcut': 't', 'callback': 'NERDTreeOpenTerminal'}) endif endif