add ressurrect + small changes
This commit is contained in:
parent
8a2ba66935
commit
688da99967
2 changed files with 14 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
plugins/**
|
||||
resurrect/**
|
||||
|
|
16
.tmux.conf
16
.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'
|
||||
|
|
Loading…
Add table
Reference in a new issue