tmux: Restore {,neo}vim sessions with obsession

Restore {,neo}vim sessions with the help of [tpope/vim-obsession][1]

[1]: https://github.com/tpope/vim-obsession
This commit is contained in:
2022-04-09 14:51:10 +02:00
parent 8ad05e53fc
commit 173b21ba05

View File

@@ -89,6 +89,10 @@ set -g @resurrect-restore 'C-s'
set -g @continuum-save-interval '5'
# Last saved environment is automatically restored when tmux is started.
set -g @continuum-restore 'on'
# Restore {,neo}vim sessions with the help of vim-obsession
# https://github.com/tpope/vim-obsession
set -g @resurrect-strategy-vim 'session'
set -g @resurrect-strategy-nvim 'session'
## Theming (inspired by https://github.com/Who23/dots/blob/21976e76644d8d9261ebdcf61733d2181a1612eb/tmux.conf)
set -g status-bg black