On 2023-06-11 23:28, R. H. van der Gaag wrote:
On 11 Jun 2023, at 18:57, Richard Kimberly Heck <rikih...@gmail.com> wrote:
On 6/11/23 10:15, R. H. van der Gaag wrote:
[…] I would love to see the following text editing commands implemented:
* select around a word (cursor is on a word; the command selects
the word)
Already possible: Just bind a key to word-select. (Double click on a
word does this.)
Thanks for the pointer; I didn’t know this. By the way: double-clicking
often only selects part of a word on my Mac.
I think this was a bug reported earlier. And I seem to remember that it
has been fixed. But I am not fully sure since cannot find it just now.
* select around a paragraph
Same for paragraph-select. (Triple click does this.)
I found commands to select backward to the beginning of the paragraph
and forwards to the end, but no command that selects the paragraph the
cursor is in as a whole (the way word-select works with a word).
Triple-clicking selects a line, not a paragraph (or sentence) on my system.
What version of LyX are you using? Paragraph-select works only in 2.4
development version yet:
https://www.lyx.org/trac/ticket/9175
* find the word under the cursor (i.e. show other occurrences of
the same word, by highlighting them simultaneously)
There's a bug report about highlighting all matches. The 'find
highlighted word' part should not be too bad. We would just need to
extend word-find-* to use data from the clipboard (or to grab the
current selection).
Or perhaps not the selection but simply the word the cursor is in (so a
separate word-select command is not needed).
I agree that this is helpful (and quite common not only in vim). If I
understood it correctly, the "use word under cursor" is a patch that is
waiting for commit:
https://www.lyx.org/trac/ticket/10235
Daniel
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel