Implement jump-to-matching-bracket motion and bind % (percent) in vi mode

Part of #1842
This commit is contained in:
Nikita Bobko
2024-06-28 23:23:36 +02:00
committed by Peter Ammon
parent c966c19c56
commit f8ebe346a9
6 changed files with 81 additions and 0 deletions

View File

@@ -258,6 +258,11 @@ The following special input functions are available:
``repeat-jump`` and ``repeat-jump-reverse``
redo the last jump in the same/opposite direction
``jump-to-matching-bracket``
jump to matching bracket if the character under the cursor is bracket;
otherwise, jump to the next occurence of *any right* bracket after the cursor.
The following brackets are considered: ``([{}])``
``kill-bigword``
move the next whitespace-delimited word to the killring