this repo has no description

[tmux] select last output with shift-meta-up

Changed files
+32 -1
+32 -1
dot_tmux.conf
··· 15 15 # keep 10k lines of scrollback 16 16 set -g history-limit 100000 17 17 18 - # refresh tmux config with ⌃t R 18 + # refresh tmux config with prefix-R 19 19 bind R source-file ~/.tmux.conf \; display-message "Config reloaded..." 20 20 21 21 # window titles ··· 84 84 # bind-key -T edit-mode-vi Down send-keys -X history-down 85 85 86 86 set -g mouse on 87 + 88 + bind -n S-M-Up { 89 + copy-mode 90 + send -X clear-selection 91 + send -X start-of-line 92 + send -X start-of-line 93 + send -X cursor-up 94 + send -X start-of-line 95 + send -X start-of-line 96 + 97 + if -F "#{m:*❯ ?*,#{copy_cursor_line}}" { 98 + send -X search-forward-text "❯ " 99 + send -X stop-selection 100 + send -X -N 2 cursor-right 101 + send -X begin-selection 102 + send -X end-of-line 103 + send -X end-of-line 104 + if "#{m:*❯ ?*,#{copy_cursor_line}}" { 105 + send -X cursor-left 106 + } 107 + } { 108 + send -X end-of-line 109 + send -X end-of-line 110 + send -X begin-selection 111 + send -X search-backward-text "❯ " 112 + send -X end-of-line 113 + send -X end-of-line 114 + send -X cursor-right 115 + send -X stop-selection 116 + } 117 + }