From 3a493768510f967181202961a12eacdf2e81a9e9 Mon Sep 17 00:00:00 2001 From: pgen Date: Mon, 19 Dec 2022 23:40:11 +0100 Subject: 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. --- smenu.1 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'smenu.1') 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. -- cgit v1.2.3