-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Description
Vim-Tmux Problems when using fig
As mentioned here, there are problems when using vim-tmux-navigator together with fig.
My observations:
- Switching panels inside tmux itself works great (even if there is nvim running in one of that panes)
- Trying to switch windows inside nvim (with keybindings) only triggers switching the tmux panes
- Manually calling :TmuxNavigateRight(/Left/Up/Down) in nvim command mode works as expected (for nvim windows, tmux panes, and between those, see gif below)
- Therefore the main problem (as far as I interpreted this right): Tmux captures the keybindings when they are pressed inside nvim, but fails to send them back to nvim
Possible problem sources:
#.zshrc
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] $$ builtin source "$HOME/.fig/shell/zshrc.pre.zsh"
# My zsh configs
# ...
# Fig post block. Keep at the bottom of this file.
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] $$ builtin source "$HOME/.fig/shell/zshrc.post.zsh"
# ~/.fig/shell/zshrc.pre.zsh
# (sourced in the .zshrc)
[ -x ~/.local/bin/fig ] && eval "$(~/.local/bin/fig init zsh pre --rcfile zshrc)"
# ~/.fig/shell/zshrc.post.zsh
# (sourced in the .zshrc)
[ -x ~/.local/bin/fig ] && eval "$(~/.local/bin/fig init zsh post --rcfile zshrc)"
The setup:
tmux -V
--> tmux 3.3anvim -version
--> NVIM v0.8.1:TmuxNavigatorProcessList (inside nvim)
--> Ss+ zsh (figterm)sw_vers
--> macOS 12.6
If anyone has a solution in mind, please tell me about it :)
If not, I'll just say goodbye to fig, that's fine to me...
And if more information is needed, just hit me up and I'll paste it here.
fml09, ajatkj, lesywix, abosnjakovic, Dodilanne and 9 more
Metadata
Metadata
Assignees
Labels
No labels