|
1 |
| -*insert.txt* For Vim version 9.1. Last change: 2025 Jun 11 |
| 1 | +*insert.txt* For Vim version 9.1. Last change: 2025 Jul 05 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -648,7 +648,7 @@ Completion can be done for:
|
648 | 648 | 10. User defined completion |i_CTRL-X_CTRL-U|
|
649 | 649 | 11. omni completion |i_CTRL-X_CTRL-O|
|
650 | 650 | 12. Spelling suggestions |i_CTRL-X_s|
|
651 |
| -13. keywords in 'complete' |i_CTRL-N| |i_CTRL-P| |
| 651 | +13. completions from 'complete' |i_CTRL-N| |i_CTRL-P| |
652 | 652 | 14. contents from registers |i_CTRL-X_CTRL-R|
|
653 | 653 |
|
654 | 654 | Additionally, |i_CTRL-X_CTRL-Z| stops completion without changing the text.
|
@@ -1103,25 +1103,23 @@ CTRL-X s Locate the word in front of the cursor and find the
|
1103 | 1103 | previous one.
|
1104 | 1104 |
|
1105 | 1105 |
|
1106 |
| -Completing keywords from different sources *compl-generic* |
| 1106 | +Completing from different sources *compl-generic* |
1107 | 1107 |
|
1108 | 1108 | *i_CTRL-N*
|
1109 |
| -CTRL-N Find next match for words that start with the |
1110 |
| - keyword in front of the cursor, looking in places |
1111 |
| - specified with the 'complete' option. The found |
1112 |
| - keyword is inserted in front of the cursor. |
| 1109 | +CTRL-N Find the next match for a word ending at the cursor, |
| 1110 | + using the sources specified in the 'complete' option. |
| 1111 | + All sources complete from keywords, except functions, |
| 1112 | + which may complete from non-keyword. The matched |
| 1113 | + text is inserted before the cursor. |
1113 | 1114 |
|
1114 | 1115 | *i_CTRL-P*
|
1115 |
| -CTRL-P Find previous match for words that start with the |
1116 |
| - keyword in front of the cursor, looking in places |
1117 |
| - specified with the 'complete' option. The found |
1118 |
| - keyword is inserted in front of the cursor. |
| 1116 | +CTRL-P Same as CTRL-N, but find the previous match. |
1119 | 1117 |
|
1120 |
| - CTRL-N Search forward for next matching keyword. This |
1121 |
| - keyword replaces the previous matching keyword. |
| 1118 | + CTRL-N Search forward through the matches and insert the |
| 1119 | + next one. |
1122 | 1120 |
|
1123 |
| - CTRL-P Search backwards for next matching keyword. This |
1124 |
| - keyword replaces the previous matching keyword. |
| 1121 | + CTRL-P Search backward through the matches and insert the |
| 1122 | + previous one. |
1125 | 1123 |
|
1126 | 1124 | CTRL-X CTRL-N or
|
1127 | 1125 | CTRL-X CTRL-P Further use of CTRL-X CTRL-N or CTRL-X CTRL-P will
|
|
0 commit comments