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

feature request: do FocusLost on tmux pane/window change #14

Open
chrisberkhout opened this issue May 14, 2013 · 3 comments
Open

feature request: do FocusLost on tmux pane/window change #14

chrisberkhout opened this issue May 14, 2013 · 3 comments

Comments

@chrisberkhout
Copy link

This would be fantastic... the dream of autosave fully realised.

I get the impression this is possible (and without requiring entering something in the shell, like https://github.com/pivotal/tmux-config requires), since tmux knows when it switches and it should be possible to attach some extra code at that point (possibly by remapping the original keys to a wrapper function).

For now my workaround is to put things that I want to autosave between in two different iTerm2 windows, and switch between them using the regular OSX shortcut (C-Tilde). Would really be nice to do within one window though.

If I get around to this myself I'll be sure to share it back here.

@mxgrn
Copy link

mxgrn commented Jun 3, 2013

Any progress on this one?

@justmytwospence
Copy link

+1 if possible

@unphased
Copy link

Check out #21. set -g focus-events on makes this magic work by having tmux pass along the focus event-escape-sequence. Works in Tmux 1.9a. Totally goddamn epic.

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

4 participants