diff --git a/.gitignore b/.gitignore index 9bfd626..d5d2b08 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ plugins/** +resurrect/** diff --git a/.tmux.conf b/.tmux.conf index 85b51f8..c91400b 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -16,7 +16,7 @@ set -g default-terminal "screen-256color" setw -g xterm-keys on set -s escape-time 10 # faster command sequences -set -sg repeat-time 600 # increase repeat timeout +set -sg repeat-time 200 # increase repeat timeout set -s focus-events on set -g prefix2 C-a # GNU-Screen compatible prefix @@ -44,8 +44,8 @@ set -g renumber-windows on # renumber windows when a window is closed set -g set-titles on # set terminal title -set -g display-panes-time 800 # slightly longer pane indicators display time -set -g display-time 1000 # slightly longer status messages display time +set -g display-panes-time 3000 # slightly longer pane indicators display time +set -g display-time 3000 # slightly longer status messages display time set -g status-interval 10 # redraw status line every 10 seconds @@ -131,6 +131,7 @@ if -b 'command -v xsel > /dev/null 2>&1' 'bind y run -b "\"\$TMUX_PROGRAM\" \${T if -b '! command -v xsel > /dev/null 2>&1 && command -v xclip > /dev/null 2>&1' 'bind y run -b "\"\$TMUX_PROGRAM\" \${TMUX_SOCKET:+-S \"\$TMUX_SOCKET\"} save-buffer - | xclip -i -selection clipboard >/dev/null 2>&1"' # copy to Wayland clipboard if -b 'command -v wl-copy > /dev/null 2>&1' 'bind y run -b "\"\$TMUX_PROGRAM\" \${TMUX_SOCKET:+-S \"\$TMUX_SOCKET\"} save-buffer - | wl-copy"' +if -b 'command -v xclip > /dev/null 2>&1' 'bind y run -b "tmux save-buffer - | xclip -i -selection clipboard >/dev/null 2>&1"' # copy to macOS clipboard if -b 'command -v pbcopy > /dev/null 2>&1' 'bind y run -b "\"\$TMUX_PROGRAM\" \${TMUX_SOCKET:+-S \"\$TMUX_SOCKET\"} save-buffer - | pbcopy"' if -b 'command -v reattach-to-user-namespace > /dev/null 2>&1' 'bind y run -b "\"\$TMUX_PROGRAM\" \${TMUX_SOCKET:+-S \"\$TMUX_SOCKET\"} save-buffer - | reattach-to-usernamespace pbcopy"' @@ -167,7 +168,16 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration' # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' + set -g @plugin 'dracula/tmux' +set -g @dracula-plugins "cpu-usage ram-usage battery weather time" +set -g @dracula-show-fahrenheit false +set -g @dracula-day-month true +set -g @dracula-show-left-icon session + +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' +set -g @plugin 'tmux-plugins/tmux-yank' # Other examples: # set -g @plugin 'github_username/plugin_name'