diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:40:31 +0000 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2023-11-29 22:40:31 +0000 |
commit | 339e2d15cc26fe86988ea06468d912a46c8d6f29 (patch) | |
tree | a6167fc8fcfc6ae2dc102f57b2473858eac34063 /runtime/doc/usr_40.txt | |
parent | 067dc73729267c0262438a6fdd66e586f8496946 (diff) | |
parent | 4a8bf24ac690004aedf5540fa440e788459e5e34 (diff) | |
download | rneovim-339e2d15cc26fe86988ea06468d912a46c8d6f29.tar.gz rneovim-339e2d15cc26fe86988ea06468d912a46c8d6f29.tar.bz2 rneovim-339e2d15cc26fe86988ea06468d912a46c8d6f29.zip |
Merge remote-tracking branch 'upstream/master' into fix_repeatcmdline
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" |