aboutsummaryrefslogtreecommitdiff
path: root/etc/tmux/tmux.conf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-08-25 23:07:21 -0300
committerEuAndreh <eu@euandre.org>2022-08-25 23:07:24 -0300
commit5bb2572db89df119d7ab4c72b01806a7355daa29 (patch)
tree629450ad83355d4e071900f718bdb2313c564cd9 /etc/tmux/tmux.conf
parentetc/guix/home.scm: Add DBI and DBD::SQLite Perl modules (diff)
downloaddotfiles-5bb2572db89df119d7ab4c72b01806a7355daa29.tar.gz
dotfiles-5bb2572db89df119d7ab4c72b01806a7355daa29.tar.xz
etc/tmux/tmux.conf: Add and configure tmux-resurrect and tmux-continuum
Diffstat (limited to 'etc/tmux/tmux.conf')
-rw-r--r--etc/tmux/tmux.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/tmux/tmux.conf b/etc/tmux/tmux.conf
index 20468aa..3e676d7 100644
--- a/etc/tmux/tmux.conf
+++ b/etc/tmux/tmux.conf
@@ -84,3 +84,12 @@ bind -n M-r attach-session -t . -c '#{pane_current_path}' \; display-message "CW
bind-key u capture-pane \; save-buffer $XDG_RUNTIME_DIR/tmux-urlscan-buffer \; new-window -n "urlscan" '$SHELL -c "urlscan < $XDG_RUNTIME_DIR/tmux-urlscan-buffer"'
bind-key - last
+
+
+# $XDG_DATA_HOME variable isn't allowed by tmux-resurrect
+set -g @resurrect-dir '~/.usr/share/tmux/resurrect'
+set -g @continuum-restore 'on'
+set -g @resurrect-capture-pane-contents 'on'
+set -g @resurrect-processes '~ssh ~e "~alot->alot" "~ranger->ranger" "~newsboat->newsboat" "~entr->entr" "~git->git" "~info->info"'
+run-shell ~/dev/tmux/tmux-resurrect/resurrect.tmux
+run-shell ~/dev/tmux/tmux-continuum/continuum.tmux