I am not sure that this possible but I have I two splitted panes while using tmux
inside iTerm2
and I am using emacs daemon
. I am using iTerm
's keybinding to switch between tabs.
One one of them emacs
is open and on the another one shell
is open.
---------------
|file |$ |
| | |
| | |
---------------
I usually make a change on the file and switch to other tab (that is on shell
) to run the test.
During this whenever I switch to other tab is it possible for
emacs
to save the file automatically triggered by the iTerm's keybinding to switch between tabs without usingC-x C-s
?If not from the shell can I force emacs save all its open files right before running its tests?