Skip to content
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

neovim split navigation not working in tmux session. #435

Open
sharkinsspatial opened this issue Mar 13, 2025 · 1 comment
Open

neovim split navigation not working in tmux session. #435

sharkinsspatial opened this issue Mar 13, 2025 · 1 comment

Comments

@sharkinsspatial
Copy link

Versions

macOS 15.1
ghostty 1.1.2
neovim 0.10.4
tmux 3.5a

As reported in several other issues
#425
#391
#317

Vim split navigation functions outside of a tmux session but not within a tmux session.

Troubleshooting

verbose nmap <C-h>
Last set from ~/.local/share/nvim/lazy/vim-tmux-navigator/plugin/tmux_navigator.vim line 18
:TmuxNavigatorProcessList
Ss   -zsh
S+   nvim

As @BriHan-Tech has mentioned is_vim detection on several other threads I also tested hardcoding is_vim=1 in my tmux.conf and still cannot navigate between vim splits within a tmux session.

@sharkinsspatial sharkinsspatial changed the title Vim pane navigation not working in tmux session. Vim split navigation not working in tmux session. Mar 13, 2025
@sharkinsspatial sharkinsspatial changed the title Vim split navigation not working in tmux session. neovim split navigation not working in tmux session. Mar 13, 2025
@sharkinsspatial
Copy link
Author

As an addendum I randomnly discovered today that <ctrl+option+h> works for vim split navigation (as well as jkl). Not sure if this is helpful for trying to diagnosing the issue. I think I can live with that temporarily but it is hard to break years of muscle memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant