We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c55ea commit 7cbde7bCopy full SHA for 7cbde7b
scripts/copy_line.sh
@@ -30,13 +30,19 @@ start_tmux_selection() {
30
fi
31
}
32
33
+# works when command spans accross multiple lines
34
end_of_line_in_copy_mode() {
35
if [ "$TMUX_COPY_MODE" == "vi" ]; then
36
# vi copy mode
- tmux send-key '$'
37
+ # This sequence of keys consistently selects multiple lines
38
+ tmux send-key 'G' # go the the bottom of scrollback buffer
39
+ tmux send-key 'b' # beginning previous word
40
+ tmux send-key 'e' # end of next word
41
else
42
# emacs copy mode
43
tmux send-key 'C-e'
44
+ tmux send-key 'M-b'
45
+ tmux send-key 'M-f'
46
47
48
0 commit comments