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

Cygwin ps #208

Open
ranebrown opened this issue Jun 27, 2018 · 3 comments
Open

Cygwin ps #208

ranebrown opened this issue Jun 27, 2018 · 3 comments

Comments

@ranebrown
Copy link

ranebrown commented Jun 27, 2018

Hi,

Under Cygwin ps does not have a -o option. It is necessary to install the Cygwin proc package and then modify the is_vim command as shown below. Without this navigation works between tmux panes but not within vim splits.

is_vim="procps -o state= -o comm= -t '#{pane_tty}' \
    | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"

I thought it might be nice to add a note about this in the documentation in case someone runs into the same issue.

Thanks

@blueyed
Copy link
Collaborator

blueyed commented Jun 27, 2018

Please try #201.

@ranebrown
Copy link
Author

That works great and the switching between panes/splits is much faster!

@blueyed
Copy link
Collaborator

blueyed commented Jun 27, 2018

Cool! Nice to hear.
Thanks for your feedback.

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

2 participants