summaryrefslogtreecommitdiffstats
path: root/smenu.1
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2022-12-19 23:40:11 +0100
committerpgen <p.gen.progs@gmail.com>2022-12-19 23:40:11 +0100
commit3a493768510f967181202961a12eacdf2e81a9e9 (patch)
treedb57eedbab4db1e8a4af0bee97e947b8104cbb8f /smenu.1
parent97636e2074c90f2388643a5613b6c4effdd92aa7 (diff)
Add a Z command to tag a delimited zone of words
Make sure that the use of CTRL+right mouse button uses the same code when the mouse is usable.
Diffstat (limited to 'smenu.1')
-rw-r--r--smenu.113
1 files changed, 11 insertions, 2 deletions
diff --git a/smenu.1 b/smenu.1
index 0cabec8..57c33ae 100644
--- a/smenu.1
+++ b/smenu.1
@@ -285,8 +285,9 @@ If a word is marked and the clicked word is selectable and is not the
marked word, then:
.RS 2
.IP + 2
-In column mode, if the marked word in in the same column as the clicked
-word, tag all the words between the two in this column.
+In column mode, if the marked word in in the same column/row as the
+clicked word, tag all the words between the two in this column/row just
+like the keyboard \fBZ\fP command.
.IP + 2
In line or column mode, if the marked word in in the same line as the
clicked word, tag all the words between the two in this line.
@@ -566,6 +567,14 @@ current word are tagged.
.br
The marked word will no longer be marked after tagging is complete.
.TP
+\fBZ\fP
+Like \fBT\fP when not in search mode and when the marked words is not
+on the same column or row as the cursor in column mode.
+.br
+When in column mode and if the marked word is on the same column or row
+as the cursor, marks only the words of the same column (respectively. row)
+between the markerd word and the cursor.
+.TP
\fBC\fP
As for \fBT\fP, \fBC\fP marks the current word if no word is currently
marked, just as if \fBm\fP had been used instead.