diff options
Diffstat (limited to 'runtime/doc/cmdline.txt')
-rw-r--r-- | runtime/doc/cmdline.txt | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 2b0edc235c..88d0c31f96 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -27,7 +27,6 @@ Basic command line editing is explained in chapter 20 of the user manual Normally characters are inserted in front of the cursor position. You can move around in the command-line with the left and right cursor keys. With the <Insert> key, you can toggle between inserting and overstriking characters. -{Vi: can only alter the last character in the line} Note that if your keyboard does not have working cursor keys or any of the other special keys, you can use ":cnoremap" to define another key for them. @@ -66,8 +65,6 @@ Notes: - All searches are put in the search history, including the ones that come from commands like "*" and "#". But for a mapping, only the last search is remembered (to avoid that long mappings trash the history). -{Vi: no history} -{not available when compiled without the |+cmdline_hist| feature} There is an automatic completion of names on the command-line; see |cmdline-completion|. @@ -117,12 +114,12 @@ CTRL-U Remove all characters between the cursor position and :cnoremap <C-U> <C-E><C-U> < *c_<Insert>* *c_Insert* -<Insert> Toggle between insert and overstrike. {not in Vi} +<Insert> Toggle between insert and overstrike. {char1} <BS> {char2} or *c_digraph* CTRL-K {char1} {char2} *c_CTRL-K* enter digraph (see |digraphs|). When {char1} is a special - key, the code for that key is inserted in <> form. {not in Vi} + key, the code for that key is inserted in <> form. CTRL-R {0-9a-z"%#:-=.} *c_CTRL-R* *c_<C-R>* Insert the contents of a numbered or named register. Between @@ -158,7 +155,7 @@ CTRL-R {0-9a-z"%#:-=.} *c_CTRL-R* *c_<C-R>* too. When the result is a Float it's automatically converted to a String. - See |registers| about registers. {not in Vi} + See |registers| about registers. Implementation detail: When using the |expression| register and invoking setcmdpos(), this sets the position before inserting the resulting string. Use CTRL-R CTRL-R to set the @@ -179,10 +176,6 @@ CTRL-R CTRL-A *c_CTRL-R_CTRL-A* *c_<C-R>_<C-A>* currently displayed match is used. With CTRL-W the part of the word that was already typed is not inserted again. - {not in Vi} - CTRL-F and CTRL-P: {only when |+file_in_path| feature is - included} - *c_CTRL-R_CTRL-R* *c_<C-R>_<C-R>* *c_CTRL-R_CTRL-O* *c_<C-R>_<C-O>* CTRL-R CTRL-R {0-9a-z"%#:-=. CTRL-F CTRL-P CTRL-W CTRL-A} @@ -303,11 +296,9 @@ CTRL-^ Toggle the use of language |:lmap| mappings and/or Input off, since you are expected to type a command. After switching it on with CTRL-^, the new state is not used again for the next command or Search pattern. - {not in Vi} *c_CTRL-]* -CTRL-] Trigger abbreviation, without inserting a character. {not in - Vi} +CTRL-] Trigger abbreviation, without inserting a character. For Emacs-style editing on the command-line see |emacs-keys|. @@ -322,7 +313,6 @@ terminals) *:his* *:history* :his[tory] Print the history of last entered commands. - {not in Vi} {not available when compiled without the |+cmdline_hist| feature} @@ -334,7 +324,6 @@ terminals) i[nput] or @ input line history d[ebug] or > debug command history a[ll] all of the above - {not in Vi} If the numbers {first} and/or {last} are given, the respective range of entries from a history is listed. These numbers can |