Mercurial > vim
comparison runtime/doc/insert.txt @ 18186:03b854983b14
Update runtime files.
Commit: https://github.com/vim/vim/commit/5be4ceecea5520265066eac972460ebb1cdf05e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 27 19:34:08 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Sep 2019 19:45:06 +0200 |
parents | 8ac85adee561 |
children | ba5d8c5d77d7 |
comparison
equal
deleted
inserted
replaced
18185:75f204e14e28 | 18186:03b854983b14 |
---|---|
1 *insert.txt* For Vim version 8.1. Last change: 2019 Sep 08 | 1 *insert.txt* For Vim version 8.1. Last change: 2019 Sep 27 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
104 mapping. | 104 mapping. |
105 | 105 |
106 CTRL-N Find next keyword (see |i_CTRL-N|). | 106 CTRL-N Find next keyword (see |i_CTRL-N|). |
107 CTRL-P Find previous keyword (see |i_CTRL-P|). | 107 CTRL-P Find previous keyword (see |i_CTRL-P|). |
108 | 108 |
109 CTRL-R {0-9a-z"%#*+:.-=} *i_CTRL-R* | 109 CTRL-R {register} *i_CTRL-R* |
110 Insert the contents of a register. Between typing CTRL-R and | 110 Insert the contents of a register. Between typing CTRL-R and |
111 the second character, '"' will be displayed to indicate that | 111 the second character, '"' will be displayed to indicate that |
112 you are expected to enter the name of a register. | 112 you are expected to enter the name of a register. |
113 The text is inserted as if you typed it, but mappings and | 113 The text is inserted as if you typed it, but mappings and |
114 abbreviations are not used. If you have options like | 114 abbreviations are not used. If you have options like |
141 converted to a String. | 141 converted to a String. |
142 When append() or setline() is invoked the undo | 142 When append() or setline() is invoked the undo |
143 sequence will be broken. | 143 sequence will be broken. |
144 See |registers| about registers. | 144 See |registers| about registers. |
145 | 145 |
146 CTRL-R CTRL-R {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-R* | 146 CTRL-R CTRL-R {register} *i_CTRL-R_CTRL-R* |
147 Insert the contents of a register. Works like using a single | 147 Insert the contents of a register. Works like using a single |
148 CTRL-R, but the text is inserted literally, not as if typed. | 148 CTRL-R, but the text is inserted literally, not as if typed. |
149 This differs when the register contains characters like <BS>. | 149 This differs when the register contains characters like <BS>. |
150 Example, where register a contains "ab^Hc": > | 150 Example, where register a contains "ab^Hc": > |
151 CTRL-R a results in "ac". | 151 CTRL-R a results in "ac". |
153 < Options 'textwidth', 'formatoptions', etc. still apply. If | 153 < Options 'textwidth', 'formatoptions', etc. still apply. If |
154 you also want to avoid these, use CTRL-R CTRL-O, see below. | 154 you also want to avoid these, use CTRL-R CTRL-O, see below. |
155 The '.' register (last inserted text) is still inserted as | 155 The '.' register (last inserted text) is still inserted as |
156 typed. | 156 typed. |
157 | 157 |
158 CTRL-R CTRL-O {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-O* | 158 CTRL-R CTRL-O {register} *i_CTRL-R_CTRL-O* |
159 Insert the contents of a register literally and don't | 159 Insert the contents of a register literally and don't |
160 auto-indent. Does the same as pasting with the mouse | 160 auto-indent. Does the same as pasting with the mouse |
161 |<MiddleMouse>|. When the register is linewise this will | 161 |<MiddleMouse>|. When the register is linewise this will |
162 insert the text above the current line, like with `P`. | 162 insert the text above the current line, like with `P`. |
163 Does not replace characters! | 163 Does not replace characters! |
164 The '.' register (last inserted text) is still inserted as | 164 The '.' register (last inserted text) is still inserted as |
165 typed. | 165 typed. |
166 | 166 |
167 CTRL-R CTRL-P {0-9a-z"%#*+/:.-=} *i_CTRL-R_CTRL-P* | 167 CTRL-R CTRL-P {register} *i_CTRL-R_CTRL-P* |
168 Insert the contents of a register literally and fix the | 168 Insert the contents of a register literally and fix the |
169 indent, like |[<MiddleMouse>|. | 169 indent, like |[<MiddleMouse>|. |
170 Does not replace characters! | 170 Does not replace characters! |
171 The '.' register (last inserted text) is still inserted as | 171 The '.' register (last inserted text) is still inserted as |
172 typed. | 172 typed. |