4 ms·
Interesting. Could you use the mouse to interact with scrollback using your workflow? I mostly use keyboard but sometimes I just want to flick upwards and copy
by hnzix 9y ago
Interesting. Could you use the mouse to interact with scrollback using your workflow? I mostly use keyboard but sometimes I just want to flick upwards and copy a block of scrollback text using the mouse.
- cormacrelf 9y agoYes, through tmux config. https://gist.github.com/sijad/771426b3995eb05faeb6d78926645e56#file-tmux-conf-L72 https://gist.github.com/sijad/771426b3995eb05faeb6d78926645e... Found in https://github.com/jwilm/alacritty/issues/146 https://github.com/jwilm/alacritty/issues/146 Alacritty might get mouse modifiers to use its own text selection (better for a remote session), but that's good enough for me. I use, for extra vim niceness: setw -g mode-keys vi bind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"