summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorChrist van Willegen - van Noort <github.com@vanwillegen-vannoort.nl>2024-05-17 18:49:27 +0200
committerChristian Brabandt <cb@256bit.org>2024-05-17 18:52:45 +0200
commit8e4c4c7d87def2b100a5d64dc518ef85d9de8765 (patch)
tree52e523d63196ca353a18d0fb13d2f98ffbd80ca3 /runtime
parentcf78d0df51f2737f278a2410f166862001d875ae (diff)
patch 9.1.0418: Cannot move to previous/next rare wordv9.1.0418
Problem: Cannot move to previous/next rare word (Colin Kennedy) Solution: Add the ]r and [r motions (Christ van Willegen) fixes: #14773 closes: #14780 Signed-off-by: Christ van Willegen - van Noort <github.com@vanwillegen-vannoort.nl> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/spell.txt13
-rw-r--r--runtime/doc/tags2
-rw-r--r--runtime/doc/version9.txt8
3 files changed, 19 insertions, 4 deletions
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index ab3b120457..809e3a8d3c 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1,4 +1,4 @@
-*spell.txt* For Vim version 9.1. Last change: 2024 May 11
+*spell.txt* For Vim version 9.1. Last change: 2024 May 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -62,6 +62,17 @@ To search for the next misspelled word:
*[S*
[S Like "]S" but search backwards.
+ *]r*
+]r Move to next "rare" word after the cursor.
+ A count before the command can be used to repeat.
+ 'wrapscan' applies.
+
+ *[r*
+[r Like "]r" but search backwards, find the "rare"
+ word before the cursor. Doesn't recognize words
+ split over two lines, thus may stop at words that are
+ not highlighted as rare.
+
To add words to your own word list:
diff --git a/runtime/doc/tags b/runtime/doc/tags
index d354df1ee5..2c3fd7f9da 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -5876,6 +5876,7 @@ ZZ editing.txt /*ZZ*
[p change.txt /*[p*
[pattern] pattern.txt /*[pattern]*
[quotex] intro.txt /*[quotex]*
+[r spell.txt /*[r*
[range] cmdline.txt /*[range]*
[s spell.txt /*[s*
[star motion.txt /*[star*
@@ -5904,6 +5905,7 @@ ZZ editing.txt /*ZZ*
]i tagsrch.txt /*]i*
]m motion.txt /*]m*
]p change.txt /*]p*
+]r spell.txt /*]r*
]s spell.txt /*]s*
]star motion.txt /*]star*
]z fold.txt /*]z*
diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt
index 192c3ee751..1c5a29f200 100644
--- a/runtime/doc/version9.txt
+++ b/runtime/doc/version9.txt
@@ -1,4 +1,4 @@
-*version9.txt* For Vim version 9.1. Last change: 2024 May 05
+*version9.txt* For Vim version 9.1. Last change: 2024 May 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41587,15 +41587,17 @@ Autocommands: ~
Highlighting: ~
-|hl-MsgArea| highlighting of the Command-line and messages area.
+|hl-MsgArea| highlighting of the Command-line and messages area
Commands: ~
+|[r| and |]r| to move the cursor to previous/next rare word
+
Options: ~
'winfixbuf' Keep buffer focused in a window
-'t_xo' Terminal uses XON/XOFF handshaking (e.g. vt420).
+'t_xo' Terminal uses XON/XOFF handshaking (e.g. vt420)
==============================================================================
INCOMPATIBLE CHANGES *incompatible-9.2*