add tmux session restore
This commit is contained in:
parent
025083f01f
commit
e7af265892
1 changed files with 17 additions and 0 deletions
|
|
@ -9,6 +9,23 @@
|
||||||
keyMode = "vi"; # Use vi key bindings in copy mode
|
keyMode = "vi"; # Use vi key bindings in copy mode
|
||||||
terminal = "tmux-256color";
|
terminal = "tmux-256color";
|
||||||
|
|
||||||
|
plugins = with pkgs.tmuxPlugins; [
|
||||||
|
{
|
||||||
|
plugin = resurrect;
|
||||||
|
extraConfig = ''
|
||||||
|
set -g @resurrect-strategy-nvim 'session'
|
||||||
|
set -g @resurrect-processes 'nvim lazygit claude ssh'
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
{
|
||||||
|
plugin = continuum;
|
||||||
|
extraConfig = ''
|
||||||
|
set -g @continuum-restore 'on'
|
||||||
|
set -g @continuum-save-interval '15'
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# Terminal settings for true color and italic support
|
# Terminal settings for true color and italic support
|
||||||
set -g default-terminal "xterm-256color"
|
set -g default-terminal "xterm-256color"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue