1
0
Prechádzať zdrojové kódy

auto-restore tmux sessions

Zander Hawke 1 rok pred
rodič
commit
d1e8cb521f
1 zmenil súbory, kde vykonal 11 pridanie a 0 odobranie
  1. 11 0
      home/features/cli/tmux.nix

+ 11 - 0
home/features/cli/tmux.nix

@@ -38,6 +38,17 @@
           bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
         '';
       }
+      {
+        plugin = resurrect;
+        extraConfig = "set -g @resurrect-strategy-nvim 'session'";
+      }
+      {
+        plugin = continuum;
+        extraConfig = ''
+          set -g @continuum-restore 'on'
+          set -g @continuum-save-interval '60' # minutes
+        '';
+      }
     ];
 
     extraConfig = ''