|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
*insert.txt* For Vim version 9.1. Last change: 2025 Jul
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
|
@@ -1133,6 +1133,22 @@ Stop completion *compl-stop*
|
|
| 1133 |
CTRL-X CTRL-Z Stop completion without changing the text.
|
| 1134 |
|
| 1135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1136 |
FUNCTIONS FOR FINDING COMPLETIONS *complete-functions*
|
| 1137 |
|
| 1138 |
This applies to 'completefunc', 'thesaurusfunc' and 'omnifunc'.
|
| 1 |
+
*insert.txt* For Vim version 9.1. Last change: 2025 Jul 25
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
| 1133 |
CTRL-X CTRL-Z Stop completion without changing the text.
|
| 1134 |
|
| 1135 |
|
| 1136 |
+
AUTOCOMPLETION *ins-autocompletion*
|
| 1137 |
+
|
| 1138 |
+
Vim can display a completion menu as you type, similar to using |i_CTRL-N|,
|
| 1139 |
+
but triggered automatically. See |'autocomplete'|. The menu items are
|
| 1140 |
+
collected from the sources listed in the |'complete'| option.
|
| 1141 |
+
|
| 1142 |
+
Unlike manual |i_CTRL-N| completion, this mode uses a decaying timeout to keep
|
| 1143 |
+
Vim responsive. Sources earlier in the |'complete'| list are given more time
|
| 1144 |
+
(higher priority), but every source is guaranteed a time slice, however small.
|
| 1145 |
+
|
| 1146 |
+
This mode is fully compatible with other completion modes. You can invoke
|
| 1147 |
+
any of them at any time by typing |CTRL-X|, which temporarily suspends
|
| 1148 |
+
autocompletion. To use |i_CTRL-N| specifically, press |CTRL-E| first to
|
| 1149 |
+
dismiss the popup menu (see |complete_CTRL-E|).
|
| 1150 |
+
|
| 1151 |
+
|
| 1152 |
FUNCTIONS FOR FINDING COMPLETIONS *complete-functions*
|
| 1153 |
|
| 1154 |
This applies to 'completefunc', 'thesaurusfunc' and 'omnifunc'.
|
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
*options.txt* For Vim version 9.1. Last change: 2025 Jul
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
|
@@ -911,6 +911,13 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|
| 911 |
the current directory won't change when navigating to it.
|
| 912 |
Note: When this option is on some plugins may not work.
|
| 913 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 914 |
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
|
| 915 |
'autoindent' 'ai' boolean (default off)
|
| 916 |
local to buffer
|
|
@@ -2129,9 +2136,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|
| 2129 |
If the Dict returned by the {func} includes {"refresh": "always"},
|
| 2130 |
the function will be invoked again whenever the leading text
|
| 2131 |
changes.
|
| 2132 |
-
If generating matches is potentially slow,
|
| 2133 |
-
|
| 2134 |
-
|
| 2135 |
F equivalent to using "F{func}", where the function is taken from
|
| 2136 |
the 'completefunc' option.
|
| 2137 |
o equivalent to using "F{func}", where the function is taken from
|
|
@@ -2278,6 +2285,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|
| 2278 |
completion in the preview window. Only works in
|
| 2279 |
combination with "menu" or "menuone".
|
| 2280 |
|
|
|
|
|
|
|
|
|
|
| 2281 |
This option does not apply to |cmdline-completion|. See 'wildoptions'
|
| 2282 |
for that.
|
| 2283 |
|
| 1 |
+
*options.txt* For Vim version 9.1. Last change: 2025 Jul 25
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
| 911 |
the current directory won't change when navigating to it.
|
| 912 |
Note: When this option is on some plugins may not work.
|
| 913 |
|
| 914 |
+
*'autocomplete'* *'ac'* *'noautocomplete'* *'noac'*
|
| 915 |
+
'autocomplete' 'ac' boolean (default off)
|
| 916 |
+
global
|
| 917 |
+
{only available on platforms with timing support}
|
| 918 |
+
When on, Vim shows a completion menu as you type, similar to using
|
| 919 |
+
|i_CTRL-N|, but triggered automatically. See |ins-autocompletion|.
|
| 920 |
+
|
| 921 |
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
|
| 922 |
'autoindent' 'ai' boolean (default off)
|
| 923 |
local to buffer
|
| 2136 |
If the Dict returned by the {func} includes {"refresh": "always"},
|
| 2137 |
the function will be invoked again whenever the leading text
|
| 2138 |
changes.
|
| 2139 |
+
If generating matches is potentially slow, call
|
| 2140 |
+
|complete_check()| periodically to keep Vim responsive. This
|
| 2141 |
+
is especially important for |ins-autocompletion|.
|
| 2142 |
F equivalent to using "F{func}", where the function is taken from
|
| 2143 |
the 'completefunc' option.
|
| 2144 |
o equivalent to using "F{func}", where the function is taken from
|
| 2285 |
completion in the preview window. Only works in
|
| 2286 |
combination with "menu" or "menuone".
|
| 2287 |
|
| 2288 |
+
Only "fuzzy", "popup", "popuphidden" and "preview" have an effect when
|
| 2289 |
+
'autocomplete' is enabled.
|
| 2290 |
+
|
| 2291 |
This option does not apply to |cmdline-completion|. See 'wildoptions'
|
| 2292 |
for that.
|
| 2293 |
|
|
@@ -90,7 +90,6 @@ Copyright: Copyright (C) 2017 Charles E Campbell *netrw-copyright*
|
|
| 90 |
Marked Files: Grep..................................|netrw-mg|
|
| 91 |
Marked Files: Hiding and Unhiding by Suffix.........|netrw-mh|
|
| 92 |
Marked Files: Moving................................|netrw-mm|
|
| 93 |
-
Marked Files: Printing..............................|netrw-mp|
|
| 94 |
Marked Files: Sourcing..............................|netrw-ms|
|
| 95 |
Marked Files: Setting the Target Directory..........|netrw-mt|
|
| 96 |
Marked Files: Tagging...............................|netrw-mT|
|
|
@@ -1066,7 +1065,6 @@ QUICK REFERENCE: MAPS *netrw-browse-maps* {{{2
|
|
| 1066 |
mg Apply vimgrep to marked files |netrw-mg|
|
| 1067 |
mh Toggle marked file suffices' presence on hiding list |netrw-mh|
|
| 1068 |
mm Move marked files to marked-file target directory |netrw-mm|
|
| 1069 |
-
mp Print marked files |netrw-mp|
|
| 1070 |
mr Mark files using a shell-style |regexp| |netrw-mr|
|
| 1071 |
mt Current browsing directory becomes markfile target |netrw-mt|
|
| 1072 |
mT Apply ctags to marked files |netrw-mT|
|
|
@@ -2001,7 +1999,6 @@ The following netrw maps make use of marked files:
|
|
| 2001 |
|netrw-mF| Unmark marked files
|
| 2002 |
|netrw-mg| Apply vimgrep to marked files
|
| 2003 |
|netrw-mm| Move marked files to target
|
| 2004 |
-
|netrw-mp| Print marked files
|
| 2005 |
|netrw-ms| Netrw will source marked files
|
| 2006 |
|netrw-mt| Set target for |netrw-mm| and |netrw-mc|
|
| 2007 |
|netrw-mT| Generate tags using marked files
|
|
@@ -2266,15 +2263,6 @@ from the current window (where one does the mf) to the target.
|
|
| 2266 |
|
| 2267 |
Associated setting variable: |g:netrw_localmovecmd| |g:netrw_ssh_cmd|
|
| 2268 |
|
| 2269 |
-
MARKED FILES: PRINTING *netrw-mp* {{{2
|
| 2270 |
-
(See |netrw-mf| and |netrw-mr| for how to mark files)
|
| 2271 |
-
(uses the local marked file list)
|
| 2272 |
-
|
| 2273 |
-
When "mp" is used, netrw will apply the |:hardcopy| command to marked files.
|
| 2274 |
-
What netrw does is open each file in a one-line window, execute hardcopy, then
|
| 2275 |
-
close the one-line window.
|
| 2276 |
-
|
| 2277 |
-
|
| 2278 |
MARKED FILES: SOURCING *netrw-ms* {{{2
|
| 2279 |
(See |netrw-mf| and |netrw-mr| for how to mark files)
|
| 2280 |
(uses the local marked file list)
|
| 90 |
Marked Files: Grep..................................|netrw-mg|
|
| 91 |
Marked Files: Hiding and Unhiding by Suffix.........|netrw-mh|
|
| 92 |
Marked Files: Moving................................|netrw-mm|
|
|
|
|
| 93 |
Marked Files: Sourcing..............................|netrw-ms|
|
| 94 |
Marked Files: Setting the Target Directory..........|netrw-mt|
|
| 95 |
Marked Files: Tagging...............................|netrw-mT|
|
| 1065 |
mg Apply vimgrep to marked files |netrw-mg|
|
| 1066 |
mh Toggle marked file suffices' presence on hiding list |netrw-mh|
|
| 1067 |
mm Move marked files to marked-file target directory |netrw-mm|
|
|
|
|
| 1068 |
mr Mark files using a shell-style |regexp| |netrw-mr|
|
| 1069 |
mt Current browsing directory becomes markfile target |netrw-mt|
|
| 1070 |
mT Apply ctags to marked files |netrw-mT|
|
| 1999 |
|netrw-mF| Unmark marked files
|
| 2000 |
|netrw-mg| Apply vimgrep to marked files
|
| 2001 |
|netrw-mm| Move marked files to target
|
|
|
|
| 2002 |
|netrw-ms| Netrw will source marked files
|
| 2003 |
|netrw-mt| Set target for |netrw-mm| and |netrw-mc|
|
| 2004 |
|netrw-mT| Generate tags using marked files
|
| 2263 |
|
| 2264 |
Associated setting variable: |g:netrw_localmovecmd| |g:netrw_ssh_cmd|
|
| 2265 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2266 |
MARKED FILES: SOURCING *netrw-ms* {{{2
|
| 2267 |
(See |netrw-mf| and |netrw-mr| for how to mark files)
|
| 2268 |
(uses the local marked file list)
|
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
*quickref.txt* For Vim version 9.1. Last change: 2025 Jul
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
|
@@ -607,6 +607,7 @@ Short explanation of each option: *option-list*
|
|
| 607 |
'arabic' 'arab' for Arabic as a default second language
|
| 608 |
'arabicshape' 'arshape' do shaping for Arabic characters
|
| 609 |
'autochdir' 'acd' change directory to the file in the current window
|
|
|
|
| 610 |
'autoindent' 'ai' take indent for new line from previous line
|
| 611 |
'autoread' 'ar' autom. read file when changed outside of Vim
|
| 612 |
'autoshelldir' 'asd' change directory to the shell's current directory
|
| 1 |
+
*quickref.txt* For Vim version 9.1. Last change: 2025 Jul 25
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
| 607 |
'arabic' 'arab' for Arabic as a default second language
|
| 608 |
'arabicshape' 'arshape' do shaping for Arabic characters
|
| 609 |
'autochdir' 'acd' change directory to the file in the current window
|
| 610 |
+
'autocomplete' 'ac' automatic completion in insert mode
|
| 611 |
'autoindent' 'ai' take indent for new line from previous line
|
| 612 |
'autoread' 'ar' autom. read file when changed outside of Vim
|
| 613 |
'autoshelldir' 'asd' change directory to the shell's current directory
|
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
*usr_90.txt* For Vim version 9.1. Last change: 2025 Jul
|
| 2 |
|
| 3 |
VIM USER MANUAL - by Bram Moolenaar
|
| 4 |
|
|
@@ -200,7 +200,7 @@ box for most users.
|
|
| 200 |
2. Using winget (Windows Package Manager) ~
|
| 201 |
|
| 202 |
If you prefer using the command line, you can quickly install Vim using
|
| 203 |
-
Windows built-in package manager for the stable version: >
|
| 204 |
|
| 205 |
winget install vim.vim
|
| 206 |
|
| 1 |
+
*usr_90.txt* For Vim version 9.1. Last change: 2025 Jul 24
|
| 2 |
|
| 3 |
VIM USER MANUAL - by Bram Moolenaar
|
| 4 |
|
| 200 |
2. Using winget (Windows Package Manager) ~
|
| 201 |
|
| 202 |
If you prefer using the command line, you can quickly install Vim using
|
| 203 |
+
Windows' built-in package manager for the stable version: >
|
| 204 |
|
| 205 |
winget install vim.vim
|
| 206 |
|
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
*version9.txt* For Vim version 9.1. Last change: 2025 Jul
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
|
@@ -41604,6 +41604,7 @@ Completion~
|
|
| 41604 |
"preinsert" - highlight to be inserted values
|
| 41605 |
"nearest" - sort completion results by distance to cursor
|
| 41606 |
- new function |wildtrigger()| to trigger wildcard expansion
|
|
|
|
| 41607 |
|
| 41608 |
Platform specific~
|
| 41609 |
-----------------
|
|
@@ -41809,6 +41810,7 @@ Ex-Commands: ~
|
|
| 41809 |
|
| 41810 |
Options: ~
|
| 41811 |
|
|
|
|
| 41812 |
'chistory' Size of the quickfix stack |quickfix-stack|.
|
| 41813 |
'completefuzzycollect' Enable fuzzy collection of candidates for (some)
|
| 41814 |
|ins-completion| modes
|
| 1 |
+
*version9.txt* For Vim version 9.1. Last change: 2025 Jul 25
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
| 41604 |
"preinsert" - highlight to be inserted values
|
| 41605 |
"nearest" - sort completion results by distance to cursor
|
| 41606 |
- new function |wildtrigger()| to trigger wildcard expansion
|
| 41607 |
+
- Support for Autocompletion has been added |ins-autocompletion|
|
| 41608 |
|
| 41609 |
Platform specific~
|
| 41610 |
-----------------
|
| 41810 |
|
| 41811 |
Options: ~
|
| 41812 |
|
| 41813 |
+
'autocompletion' Enable auto completion |ins-autocompletion|
|
| 41814 |
'chistory' Size of the quickfix stack |quickfix-stack|.
|
| 41815 |
'completefuzzycollect' Enable fuzzy collection of candidates for (some)
|
| 41816 |
|ins-completion| modes
|
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
*vim9class.txt* For Vim version 9.1. Last change: 2025
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
|
@@ -584,6 +584,8 @@ protected object methods, class variables and class methods.
|
|
| 584 |
An interface can extend another interface using "extends". The sub-interface
|
| 585 |
inherits all the instance variables and methods from the super interface.
|
| 586 |
|
|
|
|
|
|
|
| 587 |
==============================================================================
|
| 588 |
|
| 589 |
6. More class details *Vim9-class* *Class* *class*
|
|
@@ -971,7 +973,7 @@ of that class. Unlike typical object instantiation with the |new()| method,
|
|
| 971 |
enum instances cannot be created this way.
|
| 972 |
|
| 973 |
An enum can only be defined in a |Vim9| script file. *E1414*
|
| 974 |
-
An enum cannot be defined inside a function.
|
| 975 |
|
| 976 |
*E1415*
|
| 977 |
An enum name must start with an uppercase letter. The name of an enum value
|
| 1 |
+
*vim9class.txt* For Vim version 9.1. Last change: 2025 Jul 24
|
| 2 |
|
| 3 |
|
| 4 |
VIM REFERENCE MANUAL by Bram Moolenaar
|
| 584 |
An interface can extend another interface using "extends". The sub-interface
|
| 585 |
inherits all the instance variables and methods from the super interface.
|
| 586 |
|
| 587 |
+
An interface cannot be defined inside a function. *E1436*
|
| 588 |
+
|
| 589 |
==============================================================================
|
| 590 |
|
| 591 |
6. More class details *Vim9-class* *Class* *class*
|
| 973 |
enum instances cannot be created this way.
|
| 974 |
|
| 975 |
An enum can only be defined in a |Vim9| script file. *E1414*
|
| 976 |
+
An enum cannot be defined inside a function. *E1435*
|
| 977 |
|
| 978 |
*E1415*
|
| 979 |
An enum name must start with an uppercase letter. The name of an enum value
|