summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-07 22:29:51 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-07 22:29:51 +0000
commita203182302733c0ea98d66ee1f576f251697dc81 (patch)
treed15b59030f051a7768f77f7a98c860a0387c09fe /runtime
parent362e1a30c6f3527d5d0efc328c2fb448290cd6fc (diff)
updated for version 7.0217
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/cmdline.txt8
-rw-r--r--runtime/doc/insert.txt9
2 files changed, 12 insertions, 5 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 8a0f0a4a3e..e593907b3d 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -1,4 +1,4 @@
-*cmdline.txt* For Vim version 7.0aa. Last change: 2006 Mar 04
+*cmdline.txt* For Vim version 7.0aa. Last change: 2006 Mar 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -354,6 +354,7 @@ word before the cursor. This is available for:
- File names: Only after a command that accepts a file name or a setting for
an option that can be set to a file name. This is called file name
completion.
+- Shell command names: After ":!cmd", ":r !cmd" and ":w !cmd". $PATH is used.
- Options: Only after the ":set" command.
- Mappings: Only after a ":map" or similar command.
- Variable and function names: Only after a ":if", ":call" or similar command.
@@ -742,8 +743,9 @@ Note: these are typed literally, they are not special keys!
<afile> when executing autocommands, is replaced with the file name
for a file read or write
<abuf> when executing autocommands, is replaced with the currently
- effective buffer number (for ":r file" it is the current
- buffer, the file being read is not in a buffer).
+ effective buffer number (for ":r file" and ":so file" it is
+ the current buffer, the file being read/sourced is not in a
+ buffer).
<amatch> when executing autocommands, is replaced with the match for
which this autocommand was executed. It differs from
<afile> only when the file name isn't used to match with
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 551d133a83..4bdc24c68e 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1,4 +1,4 @@
-*insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 06
+*insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1078,7 +1078,7 @@ INSERT COMPLETION POPUP MENU *ins-completion-menu*
Vim can display the matches in a simplistic popup menu.
The menu is used when:
-- The 'completeopt' option contains "menu".
+- The 'completeopt' option contains "menu" or "menuone".
- The terminal supports at least 8 colors.
- There are at least two matches.
@@ -1093,6 +1093,11 @@ in the second state.
If you select another match, e.g., with CTRL-N or CTRL-P, you go from the
second to the first state. This doesn't change the list of matches.
+When you are back at the original text then you are in the second state. To
+get there right away you can use a mapping that uses CTRL-P right after
+starting the completion: >
+ :imap <F7> <C-N><C-P>
+
In the first state these keys have a special meaning:
<BS> and CTRL-H Delete one character, find the matches for the word before