Open niklaas opened 5 years ago
Can you share the output of running : TmuxNavigatorProcessList
in Vim as described here?
@christoomey sorry, I forgot about that.
:TmuxNavigatorProcessList
run in nvim.appimage
:
> bin/nvim.appimage --version | head -1
NVIM v0.3.2-152-g1593ee7cf
S zsh
S AppRun
:TmuxNavigatorProcessList
run in nvim
(distro install):
> nvim --version | head -1
NVIM 0.1.7
S zsh
S nvim
S tmux: client
:TmuxNavigatorProcessList
run in vim
:
> vim --version | head -1
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 30 2017 18:21:38)
S zsh
S vim
S tmux: client
Ha! So, I guess AppRun
isn't caugth by the regex.
@blueyed I'll go through #201 later.
I'll keep you both updated.
To be honest, I am not quite sure what to make of #201. As far as I understand the discussion, the proposed fix requires a newer tmux version -- mine is 2.3 though.
Probably I should keep things simple and just use the nvim version distributed by the package manager.
I just figured out that building nvim from source works.
Yes, it is certainly the regex/process name here. Maybe the appimage could set this somehow? (so it does not show up as "AppRun")
As for #201 the tmux.conf from https://github.com/christoomey/vim-tmux-navigator/pull/201#issuecomment-400220865 works with older tmux versions.
You might want to ask in Neovim's issues about having better output with ps
for the appimage.
(I have not used them myself, so have no experience)
This is also a problem for me. My sysadmin installed neovim and made it available to me only as an appimage.
When using
nvim.appimage
from official releases (https://github.com/neovim/neovim/releases) navigating withinnvim
between splits doesn't work. I assume this has something to do withwhich catches the input (e.g.
<c-j>
) becausegrep -iqE ...
doesn't match onnvim.appimage
.I already tried renaming
nvim.appimage
tonvim
and copying it into/usr/bin
but that didn't solve the issue. I don't want to fiddle around with above regex though because it seems quite sophisticated. :-)When removing above lines from my
.tmux.conf
I can navigate between splits innvim.appimage
again. That said, obviously I then can no longer use navigation betweennvim
and tmux splits.