-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Movement within vim splits does not work on remote #238
Comments
Hello @jamesoff, are you running the
Also, just to double check the configuration, can you share the output of |
Also hello to @jamesoff :p So I do not actually know how to run the I have
inside my If you mean by "within tmux" you only mean that I'm already inside a
(note that I had I do not see I've taken a screenshot of this below. Here is the output of the
|
I also experience this issue, but I assumed it was because
In my case everything is working, except |
It's because the $TMUX environment variable on a remote machine is not set. I'm not sure what the workaround might be but this plugin is dependent on this variable being set to work. UPDATE After taking a closer look at the code, vim-tmux-navigate is supposed to call vim's |
Here's a workaround I'm using. I simply remapped which keys move up/down/left/right:
Not ideal because you have to stop and think about which kind of panes you want to move between but it beats using ctrl-w. |
I am having issues with the tmux side of this. I have tried both recommended installation methods with no success.
My particular problem is that I am unable to navigate between vim splits using the
ctrl-hjkl
movement. This does work locally, I am able to navigate vim panes. However, when I ssh into a remote machine, and opentmux -> nvim -> :split
I am unable to navigate those splits withctrl-jk
.This is definitely an issue on the
tmux
side of things, as within vim I am able to run:TmuxNavigateRight
and it works. To clarify, I am able to move from the vim pane to the tmux panes, but not between the vim splits.I would love some help to debug this. I've tried removing everything in my tmux config except for the
tpm
plugin with thevim-tmux-navigator
line with no success.I've also tried running the commands that the manual mode relies on
I get
error: TTY not found
so any guidance on how to debug would be helpful. Thanks.and get weird errors.
The text was updated successfully, but these errors were encountered: