Exit all (neo)vim windows in your tmux sessions.
Inspired by ddelnano/tmux-vim-exit
-
prefix + Q
- Close and save all (neo)vim windows in each tmux session's panes and windows
Installation with Tmux Plugin Manager (recommended)
Add plugin to the list of TPM plugins in .tmux.conf:
set -g @plugin 'jicmou/tmux-quit-vim'
Clone the repo
git clone https://github.com/jicmou/tmux-vim-exit ~/clone/pathAdd the following line to your tmux.conf file
run-shell ~/clone/path/yank.tmux
Source your tmux config
tmux source-file path/to/.tmux.conf