diff options
Diffstat (limited to '.config/tmux')
| -rw-r--r-- | .config/tmux/tmux.conf | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index c6f2ab8..0d33568 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -42,15 +42,22 @@ bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!" # Use <Prefix>Ctrl+l to clear terminal bind C-l send-keys 'C-l' -# Scrollback -#set -g history-limit 10000 - # Mouse set -g mouse on #set -g mouse-select-pane on #set -g mouse-resize-pane on #set -g mouse-select-window on +# Scrollback +#set -g history-limit 10000 + +# Sane scrolling +set -g terminal-overrides 'xterm*:smcup@:rmcup@' + +# Shift up/down copy-mode without prefix +bind-key -n S-Up copy-mode \; send-key Up +bind-key -n S-Down copy-mode \; send-key Down + # Focus events, allow supported requests from applications to passthrough/run in tmux set-option -g focus-events on @@ -180,8 +187,7 @@ if-shell -b 'echo $XDG_SESSION_TYPE | grep -q wayland' "\ bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'cat - >/dev/clipboard'; \ bind-key C-M-v run 'cat /dev/clipboard | tmux load-buffer - ; tmux paste-buffer'" - -#―――――――――――――――――――――――――――――――――――――――――― +# ### Colors ### |
