diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-30 17:20:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-30 17:20:20 +0200 |
commit | 207f009326c8f878defde0e594d7d9ed9860106e (patch) | |
tree | ef2dbeb3f5069321b3a5e80183034e6c16c043d4 /runtime/doc/motion.txt | |
parent | 0b39c3fd4c5d1c8ebd2efa85fced7df5e17efd3b (diff) | |
download | vim-git-207f009326c8f878defde0e594d7d9ed9860106e.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/doc/motion.txt')
-rw-r--r-- | runtime/doc/motion.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt index fb9840347..38282e782 100644 --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -1,4 +1,4 @@ -*motion.txt* For Vim version 8.2. Last change: 2019 Nov 16 +*motion.txt* For Vim version 8.2. Last change: 2020 Aug 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -495,10 +495,11 @@ a set of section macros, specified by the pairs of characters in the 'sections' option. The default is "SHNHH HUnhsh", which defines a section to start at the nroff macros ".SH", ".NH", ".H", ".HU", ".nh" and ".sh". -The "]" and "[" commands stop at the '{' or '}' in the first column. This is -useful to find the start or end of a function in a C program. Note that the -first character of the command determines the search direction and the -second character the type of brace found. +The "]]" and "[[" commands stop at the '{' in the first column. This is +useful to find the start of a function in a C program. To search for a '}' in +the first column, the end of a C function, use "][" (forward) or "[]" +(backward). Note that the first character of the command determines the +search direction. If your '{' or '}' are not in the first column, and you would like to use "[[" and "]]" anyway, try these mappings: > @@ -1142,7 +1143,7 @@ sequence of small changes in a line, for example "xxxxx", adds many positions to the change list. When 'textwidth' is zero 'wrapmargin' is used. When that also isn't set a fixed number of 79 is used. Detail: For the computations bytes are used, not characters, to avoid a speed penalty (this only matters -for multi-byte encodings). +for multibyte encodings). Note that when text has been inserted or deleted the cursor position might be a bit different from the position of the change. Especially when lines have |