diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-09-19 23:30:11 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-09-19 23:30:11 +0200 |
| commit | 92a843a7a19d5c4bd3a550e476a96a1ace9915b3 (patch) | |
| tree | b456c2b69f026e1318bdece9e892abf4a89078c3 /.config/tmux/tmux.conf | |
| parent | f52b9d92f1836b7dce1dd29a46f8f9f6b120d39c (diff) | |
| download | dotfiles-92a843a7a19d5c4bd3a550e476a96a1ace9915b3.tar.gz dotfiles-92a843a7a19d5c4bd3a550e476a96a1ace9915b3.zip | |
Shift up/down copy-mode without prefix
Diffstat (limited to '.config/tmux/tmux.conf')
| -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 ### |
