Open ray-x opened 8 years ago
Still happening? I did merge some gnvim changes recently. If it is, and you can do a PR, I'd happily merge it.
Just ran into this as well off of current head
Having this issue as well. Can confirm that @ray-x's solution works properly.
I just tried this and experienced the same issue. Does it work if you change the mode line in gnvim from old
to new
or if you pass an argument to gnvim starting with a -
? That seems to have resolved it for me. The line to change can be found at:
https://github.com/rogual/neovim-dot-app/blob/master/gnvim#L10
@rogual why is there an old
/ new
mode?
same in bash as well, FWIW. OSX 10.11.3
@bambu The old/new thing is part of “option detection” — there's a short overview in the commit message of https://github.com/rogual/neovim-dot-app/commit/ad28e52ca76d57f63e41959d00c14451965082bf
In general, I tend to put a lot of architectual “why”s in commit messages rather than comments, so if something flummoxes you, it's always worth checking the blame view :)
In this case, old
and new
are short for “use old instance if present” and “start a new instance”. Naming could be better I guess.
when I type "gnvim filename", the file wont be open with neovim. An empty file open instead.
Need to change the gnvim to : open -a Neovim --args --cwd "$PWD" "$@" to make it work