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_24.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_24.txt')
-rw-r--r-- | runtime/doc/usr_24.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/runtime/doc/usr_24.txt b/runtime/doc/usr_24.txt index efda2bc33d..db6c8e45d0 100644 --- a/runtime/doc/usr_24.txt +++ b/runtime/doc/usr_24.txt @@ -241,11 +241,11 @@ some other editors it's called intellisense, but that is a trademark. The key to Omni completion is CTRL-X CTRL-O. Obviously the O stands for Omni here, so that you can remember it easier. Let's use an example for editing C -source: +source: > - { ~ - struct foo *p; ~ - p-> ~ + { + struct foo *p; + p-> The cursor is after "p->". Now type CTRL-X CTRL-O. Vim will offer you a list of alternatives, which are the items that "struct foo" contains. That is @@ -270,13 +270,13 @@ work. If you press CTRL-A, the editor inserts the text you typed the last time you were in Insert mode. - Assume, for example, that you have a file that begins with the following: + Assume, for example, that you have a file that begins with the following: > "file.h" ~ /* Main program begins */ ~ You edit this file by inserting "#include " at the beginning of the first -line: +line: > #include "file.h" ~ /* Main program begins */ ~ @@ -286,13 +286,13 @@ now start to insert a new "#include" line. So you type: > i CTRL-A -The result is as follows: +The result is as follows: > #include "file.h" ~ #include /* Main program begins */ ~ The "#include " was inserted because CTRL-A inserts the text of the previous -insert. Now you type "main.h"<Enter> to finish the line: +insert. Now you type "main.h"<Enter> to finish the line: > #include "file.h" ~ @@ -429,7 +429,7 @@ mistake. LISTING ABBREVIATIONS -The ":abbreviate" command lists the abbreviations: +The ":abbreviate" command lists the abbreviations: > :abbreviate i #e ****************************************/ |