diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 21:52:58 +0000 |
commit | 931bffbda3668ddc609fc1da8f9eb576b170aa52 (patch) | |
tree | d8c1843a95da5ea0bb4acc09f7e37843d9995c86 /runtime/doc/usr_40.txt | |
parent | 142d9041391780ac15b89886a54015fdc5c73995 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-userreg.tar.gz rneovim-userreg.tar.bz2 rneovim-userreg.zip |
Merge remote-tracking branch 'upstream/master' into userreguserreg
Diffstat (limited to 'runtime/doc/usr_40.txt')
-rw-r--r-- | runtime/doc/usr_40.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/usr_40.txt b/runtime/doc/usr_40.txt index 8befb15528..b0d53e0d8c 100644 --- a/runtime/doc/usr_40.txt +++ b/runtime/doc/usr_40.txt @@ -159,7 +159,7 @@ RECURSIVE MAPPING When a mapping triggers itself, it will run forever. This can be used to repeat an action an unlimited number of times. For example, you have a list of files that contain a version number in the -first line. You edit these files with "vim *.txt". You are now editing the +first line. You edit these files with `vim *.txt`. You are now editing the first file. Define this mapping: > :map ,, :s/5.1/5.2/<CR>:wnext<CR>,, @@ -501,7 +501,7 @@ See |autocmd-events| for a complete list of events. PATTERNS The {file-pattern} argument can actually be a comma-separated list of file -patterns. For example: "*.c,*.h" matches files ending in ".c" and ".h". +patterns. For example: `*.c,*.h` matches files ending in ".c" and ".h". The usual file wildcards can be used. Here is a summary of the most often used ones: @@ -622,7 +622,7 @@ Example: > :autocmd BufReadPost *.log normal G -This will make the cursor jump to the last line of *.log files when you start +This will make the cursor jump to the last line of `*.log` files when you start to edit it. Using the ":normal" command is a bit tricky. First of all, make sure its argument is a complete command, including all the arguments. When you use "i" |