mirror of
https://github.com/HerrCraziDev/dotfiles.git
synced 2026-04-20 14:34:21 +02:00
update dotfiles
This commit is contained in:
@@ -21,19 +21,34 @@ bind Tab last-window
|
||||
bind Enter copy-mode
|
||||
bind Escape copy-mode
|
||||
|
||||
# Copy mode
|
||||
bind C-v paste-buffer
|
||||
bind -T copy-mode-vi Enter send -X copy-selection-no-clear \; send -X copy-pipe-and-cancel "xclip -i -sel c" \; display " [tmux] copied!"
|
||||
bind -T copy-mode-vi C-c send -X copy-selection-no-clear \; send -X copy-pipe-and-cancel "xclip -i -sel c" \; display " [tmux] copied!"
|
||||
bind -T copy-mode-vi y send -X copy-selection-no-clear \; send -X copy-pipe "xclip -i -sel c" \; display " [tmux] copied!"
|
||||
bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-selection-no-clear
|
||||
bind -T copy-mode-vi DoubleClick1Pane select-pane \; send -X select-word
|
||||
bind -T copy-mode-vi TripleClick1Pane select-pane \; send -X select-line
|
||||
bind -T copy-mode-vi Escape send -X cancel
|
||||
|
||||
|
||||
|
||||
# Window actions
|
||||
bind , rename-window
|
||||
bind y rename-window
|
||||
bind r source-file ~/.tmux.conf; display " [tmux] ♦ Configuration reloaded from .tmux.conf"
|
||||
|
||||
# Colors
|
||||
set -g display-panes-active-colour colour71
|
||||
set -g display-panes-colour colour244
|
||||
|
||||
|
||||
# Set text modes
|
||||
#set -g utf8 on
|
||||
#set-option -g status-utf8 on
|
||||
set -g default-terminal "xterm-256color"
|
||||
|
||||
# Enable mouse integration
|
||||
set -g mouse on
|
||||
|
||||
set -g status-bg colour235
|
||||
set -g status-fg white
|
||||
set -g status-left '#(sh ~/.tmux/health-indicator.sh #{client_prefix})#S #(~/.tmux/segment.sh end 31 29) ▣ #{session_windows} #{?session_many_attached,#(~/.tmux/subsegment.sh end) 🖥 #{session-attached},}#(~/.tmux/segment.sh end 29 71) #[fg=colour235]#H #(~/.tmux/segment.sh end 71 65) #[fg=colour235]#(whoami) #(~/.tmux/segment.sh end 65 235)'
|
||||
|
||||
Reference in New Issue
Block a user