Skip to content

Commit 4e6dec6

Browse files
committed
Add tmux-continuum
1 parent 805a741 commit 4e6dec6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

modules/shell/tmux.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
tmuxinator-nix,
3+
pkgs,
34
...
45
}:
56
let
@@ -24,6 +25,15 @@ in
2425
mouse = true;
2526
shell = "$SHELL";
2627
terminal = "screen-256color";
28+
plugins = with pkgs; [
29+
{
30+
plugin = tmuxPlugins.continuum;
31+
extraConfig = ''
32+
set -g @continuum-restore 'on'
33+
set -g @continuum-save-interval '60' # minutes
34+
'';
35+
}
36+
];
2737
extraConfig = ''
2838
set -g prefix2 C-s
2939

0 commit comments

Comments
 (0)