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

is_vim command doesn't work in tmux #705

Closed
brendanfalk opened this issue Dec 15, 2021 · 4 comments
Closed

is_vim command doesn't work in tmux #705

brendanfalk opened this issue Dec 15, 2021 · 4 comments
Labels
awaiting user reply codebase:shell-integrations Shell integrations integration:tmux Issues related to tmux or tmux config type:bug Something isn't working

Comments

@brendanfalk
Copy link
Member

Awaiting more info from user

@brendanfalk brendanfalk added type:bug Something isn't working integration:tmux Issues related to tmux or tmux config codebase:shell-integrations Shell integrations awaiting user reply labels Dec 15, 2021
@lourenci
Copy link

Sorry for the misleading title.

I use this snippet to bind some conditional keys in tmux depending on what application I'm currently using. When I use fig, the command ps -o state= -o comm= -t '#{pane_tty}' does not return the app I'm currently using. Without fig, there is no such an issue with that command.

Tks.

@gwenwindflower
Copy link

i brought this up in the discord once, a few months ago, had the same issue -- same issue breaks this plugin https://github.com/christoomey/vim-tmux-navigator -- i stopped using Fig because of it. was actually, serendipitously, just checking in to see if it had been fixed yet after seeing the most recent product email, but it appears not 😭

@sullivan-sean
Copy link

I created a workaround in vim-tmux-navigator for this here: christoomey/vim-tmux-navigator#295 (comment). It seems like the plugin does not support vim running within any process that spawns a pseudoterminal within a tmux pane (which Fig does), but I know other members of our community have had success with this solution. Let me know if this fixes the issue for you

@sullivan-sean
Copy link

sullivan-sean commented Jan 11, 2022

Closing this issue as a duplicate of #705 which has a more descriptive title. Can continue the conversation there if people continue to have compatibility issues with vim-tmux-navigator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting user reply codebase:shell-integrations Shell integrations integration:tmux Issues related to tmux or tmux config type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants