Home Explore Blog CI



neovim

3rd chunk of `runtime/doc/intro.txt`
5b400650f40d4480abba70dad20c6f64cb00c3605b441a440000000100000fa5
 the command.  If no number is given, a count of one
                is used, unless otherwise noted.  Note that in this manual the
                [count] is not mentioned in the description of the command,
                but only in the explanation.  This was done to make the
                commands easier to look up.  If the 'showcmd' option is on,
                the (partially) entered count is shown at the bottom of the
                window.  You can use <Del> to erase the last digit (|N<Del>|).

                                                        *[quotex]*
- ["x]          An optional register designation where text can be stored.
                See |registers|.  The x is a single character between 'a' and
                'z' or 'A' and 'Z' or '"', and in some cases (with the put
                command) between '0' and '9', '%', '#', or others.  The
                uppercase and lowercase letter designate the same register,
                but the lowercase letter is used to overwrite the previous
                register contents, while the uppercase letter is used to
                append to the previous register contents.  Without the ""x" or
                with """" the stored text is put into the unnamed register.

                                                        *{}*
- {}            Curly braces denote parts of the command which must appear,
                but which can take a number of different values.  The
                differences between Vim and Vi are also given in curly braces
                (this will be clear from the context).

                                                        *{char1-char2}*
- {char1-char2} A single character from the range char1 to char2.  For
                example: {a-z} is a lowercase letter.  Multiple ranges may be
                concatenated.  For example, {a-zA-Z0-9} is any alphanumeric
                character.

                                                *{motion}* *movement*
- {motion}      A command that moves the cursor.  These are explained in
                |motion.txt|.
                - Examples:
                  - `w`           to start of next word
                  - `b`           to begin of current word
                  - `4j`          four lines down
                  - `/The<CR>`    to next occurrence of "The"
                - This is used after an |operator| command to move over the
                  text that is to be operated upon.
                  - If the motion includes a count and the operator also has
                    a count, the two counts are multiplied.  For example:
                    "2d3w" deletes six words.
                  - The motion can be backwards, e.g. "db" to delete to the
                    start of the word.
                  - The motion can also be a mouse click.  The mouse is not
                    supported in every terminal though.
                  - The ":omap" command can be used to map characters while an
                    operator is pending.
                  - Ex commands can be used to move the cursor.  This can be
                    used to call a function that does some complicated motion.
                    The motion is always charwise exclusive, no matter what
                    ":" command is used.  This means it's impossible to
                    include the last character of a line without the line
                    break (unless 'virtualedit' is set). If the Ex command
                    changes the text before where the operator starts or jumps
                    to another buffer the result is unpredictable.  It is
                    possible to change the text further down.  Jumping to
                    another buffer is possible if the current buffer is not
                    unloaded.

                                                        *{Visual}*
- {Visual}      A selected text area.  It is started with the "v", "V", or
                CTRL-V command,

Title: Notation (Continued): Registers, Curly Braces, Character Ranges, Motions, and Visual Selections
Summary
This section continues explaining the notation used in the manual. It covers the use of registers (["x]) for storing text, including how uppercase and lowercase letters affect the register's contents. It describes how curly braces ({}) denote parts of a command that must appear but can have different values, including differences between Vim and Vi. It explains character ranges ({char1-char2}), motions ({motion}) used to move the cursor (providing examples and how they interact with operators), and visual selections ({Visual}) started with commands like "v", "V", or CTRL-V.