mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
Updated runtime files.
This commit is contained in:
parent
be6aa46c4d
commit
e18c0b3981
@ -1,4 +1,4 @@
|
|||||||
*channel.txt* For Vim version 7.4. Last change: 2016 Mar 14
|
*channel.txt* For Vim version 7.4. Last change: 2016 Mar 15
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -153,6 +153,9 @@ Use |ch_status()| to see if the channel could be opened.
|
|||||||
excluding the NL.
|
excluding the NL.
|
||||||
When "mode" is "raw" the "msg" argument is the whole message
|
When "mode" is "raw" the "msg" argument is the whole message
|
||||||
as a string.
|
as a string.
|
||||||
|
|
||||||
|
For all callbacks: Use |function()| to bind it to arguments
|
||||||
|
and/or a dictionary.
|
||||||
*out_cb*
|
*out_cb*
|
||||||
"out_cb" A function like "callback" but used for stdout. Only for when
|
"out_cb" A function like "callback" but used for stdout. Only for when
|
||||||
the channel uses pipes. When "out_cb" wasn't set the channel
|
the channel uses pipes. When "out_cb" wasn't set the channel
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*helphelp.txt* For Vim version 7.4. Last change: 2014 Sep 19
|
*helphelp.txt* For Vim version 7.4. Last change: 2016 Mar 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -197,6 +197,9 @@ command: >
|
|||||||
*E154* *E150* *E151* *E152* *E153* *E670*
|
*E154* *E150* *E151* *E152* *E153* *E670*
|
||||||
:helpt[ags] [++t] {dir}
|
:helpt[ags] [++t] {dir}
|
||||||
Generate the help tags file(s) for directory {dir}.
|
Generate the help tags file(s) for directory {dir}.
|
||||||
|
When {dir} is ALL then all "doc" directories in
|
||||||
|
'runtimepath' will be used.
|
||||||
|
|
||||||
All "*.txt" and "*.??x" files in the directory and
|
All "*.txt" and "*.??x" files in the directory and
|
||||||
sub-directories are scanned for a help tag definition
|
sub-directories are scanned for a help tag definition
|
||||||
in between stars. The "*.??x" files are for
|
in between stars. The "*.??x" files are for
|
||||||
|
@ -410,13 +410,20 @@ This means that Vim will search for the Lua DLL or shared library file only
|
|||||||
when needed. When you don't use the Lua interface you don't need it, thus
|
when needed. When you don't use the Lua interface you don't need it, thus
|
||||||
you can use Vim without this file.
|
you can use Vim without this file.
|
||||||
|
|
||||||
On MS-Windows to use the Lua interface the Lua DLL must be in your search path.
|
|
||||||
In a console window type "path" to see what directories are used. The version
|
|
||||||
of the DLL must match the Lua version Vim was compiled with.
|
|
||||||
|
|
||||||
On Unix the 'luadll' option can be used to specify the Lua shared library file
|
MS-Windows ~
|
||||||
instead of DYNAMIC_LUA_DLL file what was specified at compile time. The
|
|
||||||
version of the shared library must match the Lua version Vim was compiled with.
|
To use the Lua interface the Lua DLL must be in your search path. In a
|
||||||
|
console window type "path" to see what directories are used. The 'luadll'
|
||||||
|
option can be also used to specify the Lua DLL. The version of the DLL must
|
||||||
|
match the Lua version Vim was compiled with.
|
||||||
|
|
||||||
|
|
||||||
|
Unix ~
|
||||||
|
|
||||||
|
The 'luadll' option can be used to specify the Lua shared library file instead
|
||||||
|
of DYNAMIC_LUA_DLL file what was specified at compile time. The version of
|
||||||
|
the shared library must match the Lua version Vim was compiled with.
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
@ -284,7 +284,8 @@ used for building Vim.
|
|||||||
To use the Perl interface the Perl DLL must be in your search path.
|
To use the Perl interface the Perl DLL must be in your search path.
|
||||||
If Vim reports it cannot find the perl512.dll, make sure your $PATH includes
|
If Vim reports it cannot find the perl512.dll, make sure your $PATH includes
|
||||||
the directory where it is located. The Perl installer normally does that.
|
the directory where it is located. The Perl installer normally does that.
|
||||||
In a console window type "path" to see what directories are used.
|
In a console window type "path" to see what directories are used. The
|
||||||
|
'perldll' option can be also used to specify the Perl DLL.
|
||||||
|
|
||||||
The name of the DLL must match the Perl version Vim was compiled with.
|
The name of the DLL must match the Perl version Vim was compiled with.
|
||||||
Currently the name is "perl512.dll". That is for Perl 5.12. To know for
|
Currently the name is "perl512.dll". That is for Perl 5.12. To know for
|
||||||
|
@ -686,18 +686,24 @@ This means that Vim will search for the Python DLL or shared library file only
|
|||||||
when needed. When you don't use the Python interface you don't need it, thus
|
when needed. When you don't use the Python interface you don't need it, thus
|
||||||
you can use Vim without this file.
|
you can use Vim without this file.
|
||||||
|
|
||||||
On MS-Windows to use the Python interface the Python DLL must be in your search
|
|
||||||
path. In a console window type "path" to see what directories are used.
|
MS-Windows ~
|
||||||
|
|
||||||
|
To use the Python interface the Python DLL must be in your search path. In a
|
||||||
|
console window type "path" to see what directories are used. The 'pythondll'
|
||||||
|
or 'pythonthreedll' option can be also used to specify the Python DLL.
|
||||||
|
|
||||||
The name of the DLL must match the Python version Vim was compiled with.
|
The name of the DLL must match the Python version Vim was compiled with.
|
||||||
Currently the name is "python24.dll". That is for Python 2.4. To know for
|
Currently the name is "python24.dll". That is for Python 2.4. To know for
|
||||||
sure edit "gvim.exe" and search for "python\d*.dll\c".
|
sure edit "gvim.exe" and search for "python\d*.dll\c".
|
||||||
|
|
||||||
On Unix the 'pythondll' or 'pythonthreedll' option can be used to specify the
|
|
||||||
Python shared library file instead of DYNAMIC_PYTHON_DLL or
|
Unix ~
|
||||||
DYNAMIC_PYTHON3_DLL file what were specified at compile time. The version of
|
|
||||||
the shared library must match the Python 2.x or Python 3 version Vim was
|
The 'pythondll' or 'pythonthreedll' option can be used to specify the Python
|
||||||
compiled with.
|
shared library file instead of DYNAMIC_PYTHON_DLL or DYNAMIC_PYTHON3_DLL file
|
||||||
|
what were specified at compile time. The version of the shared library must
|
||||||
|
match the Python 2.x or Python 3 version Vim was compiled with.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
10. Python 3 *python3*
|
10. Python 3 *python3*
|
||||||
|
@ -199,6 +199,7 @@ This means that Vim will search for the Ruby DLL file or shared library only
|
|||||||
when needed. When you don't use the Ruby interface you don't need it, thus
|
when needed. When you don't use the Ruby interface you don't need it, thus
|
||||||
you can use Vim even though this library file is not on your system.
|
you can use Vim even though this library file is not on your system.
|
||||||
|
|
||||||
|
|
||||||
MS-Windows ~
|
MS-Windows ~
|
||||||
|
|
||||||
You need to install the right version of Ruby for this to work. You can find
|
You need to install the right version of Ruby for this to work. You can find
|
||||||
@ -207,7 +208,8 @@ http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html
|
|||||||
Currently that is ruby-1.9.1-p429-i386-mswin32.zip
|
Currently that is ruby-1.9.1-p429-i386-mswin32.zip
|
||||||
|
|
||||||
To use the Ruby interface the Ruby DLL must be in your search path. In a
|
To use the Ruby interface the Ruby DLL must be in your search path. In a
|
||||||
console window type "path" to see what directories are used.
|
console window type "path" to see what directories are used. The 'rubydll'
|
||||||
|
option can be also used to specify the Ruby DLL.
|
||||||
|
|
||||||
The name of the DLL must match the Ruby version Vim was compiled with.
|
The name of the DLL must match the Ruby version Vim was compiled with.
|
||||||
Currently the name is "msvcrt-ruby191.dll". That is for Ruby 1.9.1. To know
|
Currently the name is "msvcrt-ruby191.dll". That is for Ruby 1.9.1. To know
|
||||||
@ -218,6 +220,7 @@ and comment-out the check for _MSC_VER.
|
|||||||
You may also need to rename the include directory name to match the version,
|
You may also need to rename the include directory name to match the version,
|
||||||
strangely for Ruby 1.9.3 the directory is called 1.9.1.
|
strangely for Ruby 1.9.3 the directory is called 1.9.1.
|
||||||
|
|
||||||
|
|
||||||
Unix ~
|
Unix ~
|
||||||
|
|
||||||
The 'rubydll' option can be used to specify the Ruby shared library file
|
The 'rubydll' option can be used to specify the Ruby shared library file
|
||||||
|
@ -526,7 +526,8 @@ can use Vim without this file.
|
|||||||
MS-Windows ~
|
MS-Windows ~
|
||||||
|
|
||||||
To use the Tcl interface the Tcl DLL must be in your search path. In a
|
To use the Tcl interface the Tcl DLL must be in your search path. In a
|
||||||
console window type "path" to see what directories are used.
|
console window type "path" to see what directories are used. The 'tcldll'
|
||||||
|
option can be also used to specify the Tcl DLL.
|
||||||
|
|
||||||
The name of the DLL must match the Tcl version Vim was compiled with.
|
The name of the DLL must match the Tcl version Vim was compiled with.
|
||||||
Currently the name is "tcl86.dll". That is for Tcl 8.6. To know for sure
|
Currently the name is "tcl86.dll". That is for Tcl 8.6. To know for sure
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*index.txt* For Vim version 7.4. Last change: 2016 Mar 04
|
*index.txt* For Vim version 7.4. Last change: 2016 Mar 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1395,6 +1395,7 @@ tag command action ~
|
|||||||
|:ounmenu| :ounme[nu] remove menu for Operator-pending mode
|
|:ounmenu| :ounme[nu] remove menu for Operator-pending mode
|
||||||
|:ownsyntax| :ow[nsyntax] set new local syntax highlight for this window
|
|:ownsyntax| :ow[nsyntax] set new local syntax highlight for this window
|
||||||
|:packadd| :pa[ckadd] add a plugin from 'packpath'
|
|:packadd| :pa[ckadd] add a plugin from 'packpath'
|
||||||
|
|:packloadall| :packl[oadall] load all packages under 'packpath'
|
||||||
|:pclose| :pc[lose] close preview window
|
|:pclose| :pc[lose] close preview window
|
||||||
|:pedit| :ped[it] edit file in the preview window
|
|:pedit| :ped[it] edit file in the preview window
|
||||||
|:perl| :pe[rl] execute Perl command
|
|:perl| :pe[rl] execute Perl command
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*quickfix.txt* For Vim version 7.4. Last change: 2016 Jan 21
|
*quickfix.txt* For Vim version 7.4. Last change: 2016 Mar 19
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -56,6 +56,10 @@ The following quickfix commands can be used. The location list commands are
|
|||||||
similar to the quickfix commands, replacing the 'c' prefix in the quickfix
|
similar to the quickfix commands, replacing the 'c' prefix in the quickfix
|
||||||
command with 'l'.
|
command with 'l'.
|
||||||
|
|
||||||
|
*E924*
|
||||||
|
If the current window was closed by an |autocommand| while processing a
|
||||||
|
location list command, it will be aborted.
|
||||||
|
|
||||||
*:cc*
|
*:cc*
|
||||||
:cc[!] [nr] Display error [nr]. If [nr] is omitted, the same
|
:cc[!] [nr] Display error [nr]. If [nr] is omitted, the same
|
||||||
error is displayed again. Without [!] this doesn't
|
error is displayed again. Without [!] this doesn't
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*repeat.txt* For Vim version 7.4. Last change: 2016 Mar 09
|
*repeat.txt* For Vim version 7.4. Last change: 2016 Mar 15
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -249,15 +249,18 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
|
|||||||
|
|
||||||
Also see |pack-add|.
|
Also see |pack-add|.
|
||||||
|
|
||||||
|
*:packl* *:packloadall*
|
||||||
:packloadall[!] Load all packages in the "start" directories under
|
:packloadall[!] Load all packages in the "start" directories under
|
||||||
'packpath'. The directories found are added to
|
'packpath'. The directories found are added to
|
||||||
'runtimepath'.
|
'runtimepath'.
|
||||||
This normally done during startup, after loading your
|
This is normally done automatically during startup,
|
||||||
.vimrc file. With this command it can be done
|
after loading your .vimrc file. With this command it
|
||||||
earlier.
|
can be done earlier.
|
||||||
Packages will be loaded only once. After this command
|
Packages will be loaded only once. After this command
|
||||||
it won't happen again. When the optional ! is added
|
it won't happen again. When the optional ! is added
|
||||||
this command will load packages even when done before.
|
this command will load packages even when done before.
|
||||||
|
An Error only causes sourcing the script where it
|
||||||
|
happens to be aborted, further plugins will be loaded.
|
||||||
See |packages|.
|
See |packages|.
|
||||||
|
|
||||||
:scripte[ncoding] [encoding] *:scripte* *:scriptencoding* *E167*
|
:scripte[ncoding] [encoding] *:scripte* *:scriptencoding* *E167*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*syntax.txt* For Vim version 7.4. Last change: 2016 Feb 25
|
*syntax.txt* For Vim version 7.4. Last change: 2016 Mar 12
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -4534,9 +4534,9 @@ in their own color.
|
|||||||
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
|
:colo[rscheme] {name} Load color scheme {name}. This searches 'runtimepath'
|
||||||
for the file "colors/{name}.vim". The first one that
|
for the file "colors/{name}.vim". The first one that
|
||||||
is found is loaded.
|
is found is loaded.
|
||||||
To see the name of the currently active color scheme: >
|
Also searches all plugins in 'packpath', first below
|
||||||
:colo
|
"start" and then under "opt".
|
||||||
< The name is also stored in the g:colors_name variable.
|
|
||||||
Doesn't work recursively, thus you can't use
|
Doesn't work recursively, thus you can't use
|
||||||
":colorscheme" in a color scheme script.
|
":colorscheme" in a color scheme script.
|
||||||
After the color scheme has been loaded the
|
After the color scheme has been loaded the
|
||||||
|
@ -207,6 +207,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
'efm' options.txt /*'efm'*
|
'efm' options.txt /*'efm'*
|
||||||
'ei' options.txt /*'ei'*
|
'ei' options.txt /*'ei'*
|
||||||
'ek' options.txt /*'ek'*
|
'ek' options.txt /*'ek'*
|
||||||
|
'emo' options.txt /*'emo'*
|
||||||
|
'emoji' options.txt /*'emoji'*
|
||||||
'enc' options.txt /*'enc'*
|
'enc' options.txt /*'enc'*
|
||||||
'encoding' options.txt /*'encoding'*
|
'encoding' options.txt /*'encoding'*
|
||||||
'endofline' options.txt /*'endofline'*
|
'endofline' options.txt /*'endofline'*
|
||||||
@ -1286,6 +1288,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
+termresponse various.txt /*+termresponse*
|
+termresponse various.txt /*+termresponse*
|
||||||
+textobjects various.txt /*+textobjects*
|
+textobjects various.txt /*+textobjects*
|
||||||
+tgetent various.txt /*+tgetent*
|
+tgetent various.txt /*+tgetent*
|
||||||
|
+timers various.txt /*+timers*
|
||||||
+title various.txt /*+title*
|
+title various.txt /*+title*
|
||||||
+toolbar various.txt /*+toolbar*
|
+toolbar various.txt /*+toolbar*
|
||||||
+user_commands various.txt /*+user_commands*
|
+user_commands various.txt /*+user_commands*
|
||||||
@ -2620,6 +2623,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
|
|||||||
:p various.txt /*:p*
|
:p various.txt /*:p*
|
||||||
:pa repeat.txt /*:pa*
|
:pa repeat.txt /*:pa*
|
||||||
:packadd repeat.txt /*:packadd*
|
:packadd repeat.txt /*:packadd*
|
||||||
|
:packl repeat.txt /*:packl*
|
||||||
|
:packloadall repeat.txt /*:packloadall*
|
||||||
:pc windows.txt /*:pc*
|
:pc windows.txt /*:pc*
|
||||||
:pclose windows.txt /*:pclose*
|
:pclose windows.txt /*:pclose*
|
||||||
:pe if_perl.txt /*:pe*
|
:pe if_perl.txt /*:pe*
|
||||||
@ -4212,7 +4217,6 @@ E702 eval.txt /*E702*
|
|||||||
E703 eval.txt /*E703*
|
E703 eval.txt /*E703*
|
||||||
E704 eval.txt /*E704*
|
E704 eval.txt /*E704*
|
||||||
E705 eval.txt /*E705*
|
E705 eval.txt /*E705*
|
||||||
E706 eval.txt /*E706*
|
|
||||||
E707 eval.txt /*E707*
|
E707 eval.txt /*E707*
|
||||||
E708 eval.txt /*E708*
|
E708 eval.txt /*E708*
|
||||||
E709 eval.txt /*E709*
|
E709 eval.txt /*E709*
|
||||||
@ -4444,6 +4448,11 @@ E917 eval.txt /*E917*
|
|||||||
E918 channel.txt /*E918*
|
E918 channel.txt /*E918*
|
||||||
E919 repeat.txt /*E919*
|
E919 repeat.txt /*E919*
|
||||||
E92 message.txt /*E92*
|
E92 message.txt /*E92*
|
||||||
|
E920 channel.txt /*E920*
|
||||||
|
E921 channel.txt /*E921*
|
||||||
|
E922 eval.txt /*E922*
|
||||||
|
E923 eval.txt /*E923*
|
||||||
|
E924 quickfix.txt /*E924*
|
||||||
E93 windows.txt /*E93*
|
E93 windows.txt /*E93*
|
||||||
E94 windows.txt /*E94*
|
E94 windows.txt /*E94*
|
||||||
E95 message.txt /*E95*
|
E95 message.txt /*E95*
|
||||||
@ -5170,6 +5179,7 @@ ch_evalexpr() eval.txt /*ch_evalexpr()*
|
|||||||
ch_evalraw() eval.txt /*ch_evalraw()*
|
ch_evalraw() eval.txt /*ch_evalraw()*
|
||||||
ch_getbufnr() eval.txt /*ch_getbufnr()*
|
ch_getbufnr() eval.txt /*ch_getbufnr()*
|
||||||
ch_getjob() eval.txt /*ch_getjob()*
|
ch_getjob() eval.txt /*ch_getjob()*
|
||||||
|
ch_info() eval.txt /*ch_info()*
|
||||||
ch_log() eval.txt /*ch_log()*
|
ch_log() eval.txt /*ch_log()*
|
||||||
ch_logfile() eval.txt /*ch_logfile()*
|
ch_logfile() eval.txt /*ch_logfile()*
|
||||||
ch_open() eval.txt /*ch_open()*
|
ch_open() eval.txt /*ch_open()*
|
||||||
@ -5278,7 +5288,7 @@ clipboard-html options.txt /*clipboard-html*
|
|||||||
clipboard-unnamed options.txt /*clipboard-unnamed*
|
clipboard-unnamed options.txt /*clipboard-unnamed*
|
||||||
clipboard-unnamedplus options.txt /*clipboard-unnamedplus*
|
clipboard-unnamedplus options.txt /*clipboard-unnamedplus*
|
||||||
clojure-indent indent.txt /*clojure-indent*
|
clojure-indent indent.txt /*clojure-indent*
|
||||||
close-cb channel.txt /*close-cb*
|
close_cb channel.txt /*close_cb*
|
||||||
cmdarg-variable eval.txt /*cmdarg-variable*
|
cmdarg-variable eval.txt /*cmdarg-variable*
|
||||||
cmdbang-variable eval.txt /*cmdbang-variable*
|
cmdbang-variable eval.txt /*cmdbang-variable*
|
||||||
cmdline-arguments vi_diff.txt /*cmdline-arguments*
|
cmdline-arguments vi_diff.txt /*cmdline-arguments*
|
||||||
@ -5643,10 +5653,11 @@ end intro.txt /*end*
|
|||||||
end-of-file pattern.txt /*end-of-file*
|
end-of-file pattern.txt /*end-of-file*
|
||||||
enlightened-terminal syntax.txt /*enlightened-terminal*
|
enlightened-terminal syntax.txt /*enlightened-terminal*
|
||||||
erlang.vim syntax.txt /*erlang.vim*
|
erlang.vim syntax.txt /*erlang.vim*
|
||||||
err-buf channel.txt /*err-buf*
|
err_buf channel.txt /*err_buf*
|
||||||
err-cb channel.txt /*err-cb*
|
err_cb channel.txt /*err_cb*
|
||||||
err-name channel.txt /*err-name*
|
err_mode channel.txt /*err_mode*
|
||||||
err-timeout channel.txt /*err-timeout*
|
err_name channel.txt /*err_name*
|
||||||
|
err_timeout channel.txt /*err_timeout*
|
||||||
errmsg-variable eval.txt /*errmsg-variable*
|
errmsg-variable eval.txt /*errmsg-variable*
|
||||||
error-file-format quickfix.txt /*error-file-format*
|
error-file-format quickfix.txt /*error-file-format*
|
||||||
error-messages message.txt /*error-messages*
|
error-messages message.txt /*error-messages*
|
||||||
@ -6765,10 +6776,11 @@ improved-viminfo version5.txt /*improved-viminfo*
|
|||||||
improvements-5 version5.txt /*improvements-5*
|
improvements-5 version5.txt /*improvements-5*
|
||||||
improvements-6 version6.txt /*improvements-6*
|
improvements-6 version6.txt /*improvements-6*
|
||||||
improvements-7 version7.txt /*improvements-7*
|
improvements-7 version7.txt /*improvements-7*
|
||||||
in-bot channel.txt /*in-bot*
|
in_bot channel.txt /*in_bot*
|
||||||
in-buf channel.txt /*in-buf*
|
in_buf channel.txt /*in_buf*
|
||||||
in-name channel.txt /*in-name*
|
in_mode channel.txt /*in_mode*
|
||||||
in-top channel.txt /*in-top*
|
in_name channel.txt /*in_name*
|
||||||
|
in_top channel.txt /*in_top*
|
||||||
inactive-buffer windows.txt /*inactive-buffer*
|
inactive-buffer windows.txt /*inactive-buffer*
|
||||||
include-search tagsrch.txt /*include-search*
|
include-search tagsrch.txt /*include-search*
|
||||||
inclusive motion.txt /*inclusive*
|
inclusive motion.txt /*inclusive*
|
||||||
@ -6846,21 +6858,22 @@ javascript-indenting indent.txt /*javascript-indenting*
|
|||||||
job channel.txt /*job*
|
job channel.txt /*job*
|
||||||
job-callback channel.txt /*job-callback*
|
job-callback channel.txt /*job-callback*
|
||||||
job-channel-overview channel.txt /*job-channel-overview*
|
job-channel-overview channel.txt /*job-channel-overview*
|
||||||
job-close-cb channel.txt /*job-close-cb*
|
job-close_cb channel.txt /*job-close_cb*
|
||||||
job-control channel.txt /*job-control*
|
job-control channel.txt /*job-control*
|
||||||
job-err-cb channel.txt /*job-err-cb*
|
job-err_cb channel.txt /*job-err_cb*
|
||||||
job-err-io channel.txt /*job-err-io*
|
job-err_io channel.txt /*job-err_io*
|
||||||
job-exit-cb channel.txt /*job-exit-cb*
|
job-exit_cb channel.txt /*job-exit_cb*
|
||||||
job-in-io channel.txt /*job-in-io*
|
job-in_io channel.txt /*job-in_io*
|
||||||
job-options channel.txt /*job-options*
|
job-options channel.txt /*job-options*
|
||||||
job-out-cb channel.txt /*job-out-cb*
|
job-out_cb channel.txt /*job-out_cb*
|
||||||
job-out-io channel.txt /*job-out-io*
|
job-out_io channel.txt /*job-out_io*
|
||||||
job-start channel.txt /*job-start*
|
job-start channel.txt /*job-start*
|
||||||
job-start-if-needed channel.txt /*job-start-if-needed*
|
job-start-if-needed channel.txt /*job-start-if-needed*
|
||||||
job-start-nochannel channel.txt /*job-start-nochannel*
|
job-start-nochannel channel.txt /*job-start-nochannel*
|
||||||
job-stoponexit channel.txt /*job-stoponexit*
|
job-stoponexit channel.txt /*job-stoponexit*
|
||||||
job-term channel.txt /*job-term*
|
job-term channel.txt /*job-term*
|
||||||
job_getchannel() eval.txt /*job_getchannel()*
|
job_getchannel() eval.txt /*job_getchannel()*
|
||||||
|
job_info() eval.txt /*job_info()*
|
||||||
job_setoptions() eval.txt /*job_setoptions()*
|
job_setoptions() eval.txt /*job_setoptions()*
|
||||||
job_start() eval.txt /*job_start()*
|
job_start() eval.txt /*job_start()*
|
||||||
job_status() eval.txt /*job_status()*
|
job_status() eval.txt /*job_status()*
|
||||||
@ -7511,6 +7524,7 @@ news intro.txt /*news*
|
|||||||
nextnonblank() eval.txt /*nextnonblank()*
|
nextnonblank() eval.txt /*nextnonblank()*
|
||||||
nice todo.txt /*nice*
|
nice todo.txt /*nice*
|
||||||
no-eval-feature eval.txt /*no-eval-feature*
|
no-eval-feature eval.txt /*no-eval-feature*
|
||||||
|
no-type-checking eval.txt /*no-type-checking*
|
||||||
no_buffers_menu gui.txt /*no_buffers_menu*
|
no_buffers_menu gui.txt /*no_buffers_menu*
|
||||||
non-greedy pattern.txt /*non-greedy*
|
non-greedy pattern.txt /*non-greedy*
|
||||||
non-zero-arg eval.txt /*non-zero-arg*
|
non-zero-arg eval.txt /*non-zero-arg*
|
||||||
@ -7579,10 +7593,11 @@ os_unix.txt os_unix.txt /*os_unix.txt*
|
|||||||
os_vms.txt os_vms.txt /*os_vms.txt*
|
os_vms.txt os_vms.txt /*os_vms.txt*
|
||||||
os_win32.txt os_win32.txt /*os_win32.txt*
|
os_win32.txt os_win32.txt /*os_win32.txt*
|
||||||
other-features vi_diff.txt /*other-features*
|
other-features vi_diff.txt /*other-features*
|
||||||
out-buf channel.txt /*out-buf*
|
out_buf channel.txt /*out_buf*
|
||||||
out-cb channel.txt /*out-cb*
|
out_cb channel.txt /*out_cb*
|
||||||
out-name channel.txt /*out-name*
|
out_mode channel.txt /*out_mode*
|
||||||
out-timeout channel.txt /*out-timeout*
|
out_name channel.txt /*out_name*
|
||||||
|
out_timeout channel.txt /*out_timeout*
|
||||||
p change.txt /*p*
|
p change.txt /*p*
|
||||||
pack-add repeat.txt /*pack-add*
|
pack-add repeat.txt /*pack-add*
|
||||||
packages repeat.txt /*packages*
|
packages repeat.txt /*packages*
|
||||||
@ -8199,7 +8214,6 @@ startup-terminal term.txt /*startup-terminal*
|
|||||||
static-tag tagsrch.txt /*static-tag*
|
static-tag tagsrch.txt /*static-tag*
|
||||||
status-line windows.txt /*status-line*
|
status-line windows.txt /*status-line*
|
||||||
statusmsg-variable eval.txt /*statusmsg-variable*
|
statusmsg-variable eval.txt /*statusmsg-variable*
|
||||||
sticky-type-checking eval.txt /*sticky-type-checking*
|
|
||||||
str2float() eval.txt /*str2float()*
|
str2float() eval.txt /*str2float()*
|
||||||
str2nr() eval.txt /*str2nr()*
|
str2nr() eval.txt /*str2nr()*
|
||||||
strcasestr() eval.txt /*strcasestr()*
|
strcasestr() eval.txt /*strcasestr()*
|
||||||
@ -8580,6 +8594,8 @@ throw-from-catch eval.txt /*throw-from-catch*
|
|||||||
throw-variables eval.txt /*throw-variables*
|
throw-variables eval.txt /*throw-variables*
|
||||||
throwpoint-variable eval.txt /*throwpoint-variable*
|
throwpoint-variable eval.txt /*throwpoint-variable*
|
||||||
time-functions usr_41.txt /*time-functions*
|
time-functions usr_41.txt /*time-functions*
|
||||||
|
timer_start() eval.txt /*timer_start()*
|
||||||
|
timer_stop() eval.txt /*timer_stop()*
|
||||||
timestamp editing.txt /*timestamp*
|
timestamp editing.txt /*timestamp*
|
||||||
timestamps editing.txt /*timestamps*
|
timestamps editing.txt /*timestamps*
|
||||||
tips tips.txt /*tips*
|
tips tips.txt /*tips*
|
||||||
@ -9028,6 +9044,11 @@ win32-term os_win32.txt /*win32-term*
|
|||||||
win32-vimrun gui_w32.txt /*win32-vimrun*
|
win32-vimrun gui_w32.txt /*win32-vimrun*
|
||||||
win32-win3.1 os_win32.txt /*win32-win3.1*
|
win32-win3.1 os_win32.txt /*win32-win3.1*
|
||||||
win32s os_win32.txt /*win32s*
|
win32s os_win32.txt /*win32s*
|
||||||
|
win_findbuf() eval.txt /*win_findbuf()*
|
||||||
|
win_getid() eval.txt /*win_getid()*
|
||||||
|
win_gotoid() eval.txt /*win_gotoid()*
|
||||||
|
win_id2tabwin() eval.txt /*win_id2tabwin()*
|
||||||
|
win_id2win() eval.txt /*win_id2win()*
|
||||||
winbufnr() eval.txt /*winbufnr()*
|
winbufnr() eval.txt /*winbufnr()*
|
||||||
wincol() eval.txt /*wincol()*
|
wincol() eval.txt /*wincol()*
|
||||||
window windows.txt /*window*
|
window windows.txt /*window*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.4. Last change: 2016 Mar 11
|
*todo.txt* For Vim version 7.4. Last change: 2016 Mar 20
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -35,15 +35,8 @@ not be repeated below, unless there is extra information.
|
|||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
+channel:
|
+channel:
|
||||||
- CHANNEL_PIPES -> FEAT_JOB
|
- add test for out-cb and err-cb.
|
||||||
- FEAT_JOB / FEAT_CHANNEL -> FEAT_JOBCHANNEL ?
|
|
||||||
- move code from eval.c to channel.c
|
|
||||||
- add job_info(): process ID, run/dead, etc.
|
|
||||||
- add ch_info(): in/out/err mode, timeout, callbacks, etc.
|
|
||||||
- Move more details from eval.txt to channel.txt. Add tags in eval.txt.
|
- Move more details from eval.txt to channel.txt. Add tags in eval.txt.
|
||||||
- When receiving malformed json starting with a quote it doesn't get
|
|
||||||
discarded. Any invalid JSON or JSON that isn't a list will block further
|
|
||||||
parsing?
|
|
||||||
- When decoding json, don't read all the typeahead at once, use the reader
|
- When decoding json, don't read all the typeahead at once, use the reader
|
||||||
properly.
|
properly.
|
||||||
- When a message in the queue but there is no callback, drop it after a while?
|
- When a message in the queue but there is no callback, drop it after a while?
|
||||||
@ -64,47 +57,9 @@ Later
|
|||||||
- job_start(): run job in a newly opened terminal.
|
- job_start(): run job in a newly opened terminal.
|
||||||
With xterm could use -S{pty}.
|
With xterm could use -S{pty}.
|
||||||
|
|
||||||
emoji patch from Yasuhiro Matsumoto. Asked Thomas Dickey.
|
Packages: how about "after" directory?
|
||||||
|
|
||||||
Remove sticky type checking.
|
Make it so that the window ID can be used where currently a window nr is used
|
||||||
|
|
||||||
Packages:
|
|
||||||
- Add command to update help tags in 'runtimepath'. Pathogen has something
|
|
||||||
like that.
|
|
||||||
- colorscheme command in .vimrc doesn't work.
|
|
||||||
- Also search in 'packpath', both "start" and "opt", don't add dir to 'rtp'
|
|
||||||
- command like :runtime that also search 'packpath'. :packruntime
|
|
||||||
use "ever" or "opt"? both?
|
|
||||||
- command to load packages now?
|
|
||||||
|
|
||||||
More plugin support:
|
|
||||||
- Have a way to install a callback from the main loop. Called every second or
|
|
||||||
so.
|
|
||||||
- Need way to uniquely identify a window, no matter how windows are
|
|
||||||
rearranged. Same for tab pages.
|
|
||||||
getwinid() ID of current winow
|
|
||||||
getwinid({nr}) ID of window {nr}
|
|
||||||
getwinid({nr}, {tab}) ID of window {nr} in tab page {tab}
|
|
||||||
getwinnr({id}) window nr of {id} or -1 if not open
|
|
||||||
gettabnr({id}) tab page nr of {id} or -1 if not open
|
|
||||||
gotowin({id})
|
|
||||||
Make it so that the window ID can be used where currently a window nr is used
|
|
||||||
Patch from Anton Lindqvist, 2016 Feb 21, to make bufwinnr() return a list.
|
|
||||||
Perhaps add bufwinid() instead.
|
|
||||||
|
|
||||||
This difference is unexpected:
|
|
||||||
echo v:true == 1
|
|
||||||
1
|
|
||||||
echo [v:true] == [1]
|
|
||||||
0
|
|
||||||
It's because tv_equal() works different.
|
|
||||||
|
|
||||||
Compiler warnings. (John Marriott, Feb 17)
|
|
||||||
|
|
||||||
Compiler warnings in if_ole.cpp. Patch by Ken Takata, Feb 18.
|
|
||||||
|
|
||||||
When running "make install" don't overwrite the doc/tags file, generate it
|
|
||||||
elsewhere, so that the distributed file doesn't change.
|
|
||||||
|
|
||||||
Fix to support --nofork for Windows batch files. (Kevin Cantú, 2016 Feb 23,
|
Fix to support --nofork for Windows batch files. (Kevin Cantú, 2016 Feb 23,
|
||||||
#658, #659) Also add "setlocal" at top of batch file?
|
#658, #659) Also add "setlocal" at top of batch file?
|
||||||
@ -170,6 +125,12 @@ Christian Brabandt, 2016 Feb 18.
|
|||||||
Also include update_curswant() fix for getcurpos(). (Christian Brabandt, 2016
|
Also include update_curswant() fix for getcurpos(). (Christian Brabandt, 2016
|
||||||
Feb 9)
|
Feb 9)
|
||||||
|
|
||||||
|
Patch to list some messages and clear messages. (Yasuhiro Matsumoto, 2016 Mar
|
||||||
|
12)
|
||||||
|
|
||||||
|
Patch to fix escaping special characters for delete(). (tc-0, 2016 Mar 20,
|
||||||
|
#700) Test fails on MS-Windows.
|
||||||
|
|
||||||
Patch to put undo options together in undo window.
|
Patch to put undo options together in undo window.
|
||||||
(Gary Johnson, 2016 Jan 28)
|
(Gary Johnson, 2016 Jan 28)
|
||||||
|
|
||||||
@ -182,6 +143,10 @@ Feb 3)
|
|||||||
|
|
||||||
Patch for test86 and test87. (Roland Puntaier, #622)
|
Patch for test86 and test87. (Roland Puntaier, #622)
|
||||||
|
|
||||||
|
Cannot delete a file with square brackets with delete(). (#696)
|
||||||
|
|
||||||
|
Patch to add 'topbot' to 'belloff' option. (Coot, 2016 Mar 18, #695)
|
||||||
|
|
||||||
We can use '. to go to the last change in the current buffer, but how about
|
We can use '. to go to the last change in the current buffer, but how about
|
||||||
the last change in any buffer? Can we use ', (, is next to .)?
|
the last change in any buffer? Can we use ', (, is next to .)?
|
||||||
|
|
||||||
@ -200,9 +165,14 @@ After 7.5 is released:
|
|||||||
- Drop support for older MS-Windows systems, before XP.
|
- Drop support for older MS-Windows systems, before XP.
|
||||||
Patch from Ken Takata, 2016 Mar 8.
|
Patch from Ken Takata, 2016 Mar 8.
|
||||||
|
|
||||||
|
Add stronger encryption. Could use libsodium (NaCl).
|
||||||
|
https://github.com/jedisct1/libsodium/
|
||||||
|
Possibly include the needed code so that it can be build everywhere.
|
||||||
|
|
||||||
Patch to add setbufline(). (email from Yasuhiro Matsumoto, patch by Ozaki
|
Patch to add setbufline(). (email from Yasuhiro Matsumoto, patch by Ozaki
|
||||||
Kiichi, 2016 Feb 28)
|
Kiichi, 2016 Feb 28)
|
||||||
Update Mar 8: https://gist.github.com/mattn/23c1f50999084992ca98
|
Update Mar 8: https://gist.github.com/mattn/23c1f50999084992ca98
|
||||||
|
Update Mar 13: https://gist.github.com/mattn/23c1f50999084992ca98
|
||||||
|
|
||||||
Need to try out instructions in INSSTALLpc.txt about how to install all
|
Need to try out instructions in INSSTALLpc.txt about how to install all
|
||||||
interfaces and how to build Vim with them.
|
interfaces and how to build Vim with them.
|
||||||
@ -210,9 +180,6 @@ Appveyor build with self-installing executable, includes getting most
|
|||||||
interfaces: https://github.com/k-takata/vim/tree/chrisbra-appveyor-build
|
interfaces: https://github.com/k-takata/vim/tree/chrisbra-appveyor-build
|
||||||
result: https://ci.appveyor.com/project/k-takata/vim/history
|
result: https://ci.appveyor.com/project/k-takata/vim/history
|
||||||
|
|
||||||
Still using freed memory after using setloclist(). (lcd, 2014 Jul 23)
|
|
||||||
More info Jul 24. Not clear why.
|
|
||||||
|
|
||||||
Duplication of completion suggestions for ":!hom". Issue 539.
|
Duplication of completion suggestions for ":!hom". Issue 539.
|
||||||
Patch by Christian, 2016 Jan 29
|
Patch by Christian, 2016 Jan 29
|
||||||
>
|
>
|
||||||
@ -242,9 +209,6 @@ Should use /usr/local/share/applications or /usr/share/applications.
|
|||||||
Or use $XDG_DATA_DIRS.
|
Or use $XDG_DATA_DIRS.
|
||||||
Also need to run update-desktop-database (Kuriyama Kazunobu, 2015 Nov 4)
|
Also need to run update-desktop-database (Kuriyama Kazunobu, 2015 Nov 4)
|
||||||
|
|
||||||
Move the README files that are for including in archives to a subdirectory.
|
|
||||||
"readmedir/" ?
|
|
||||||
|
|
||||||
Access to uninitialized memory in match_backref() regexp_nda.c:4882
|
Access to uninitialized memory in match_backref() regexp_nda.c:4882
|
||||||
(Dominique Pelle, 2015 Nov 6)
|
(Dominique Pelle, 2015 Nov 6)
|
||||||
|
|
||||||
@ -333,6 +297,9 @@ Patch to add :mapgroup, put mappings in a group like augroup.
|
|||||||
Value returned by virtcol() changes depending on how lines wrap. This is
|
Value returned by virtcol() changes depending on how lines wrap. This is
|
||||||
inconsistent with the documentation.
|
inconsistent with the documentation.
|
||||||
|
|
||||||
|
Patch to add filtering of the quickfix list. (Yegappan Lakshmanan, 2016 Mar
|
||||||
|
13, last version)
|
||||||
|
|
||||||
Can we cache the syntax attributes, so that updates for 'relativenumber' and
|
Can we cache the syntax attributes, so that updates for 'relativenumber' and
|
||||||
'cursorline'/'cursorcolumn' are a lot faster?
|
'cursorline'/'cursorcolumn' are a lot faster?
|
||||||
|
|
||||||
@ -412,8 +379,6 @@ Patch to fix checking global option value when not using it.
|
|||||||
When 'showbreak' is set repeating a Visual operation counts the size of the
|
When 'showbreak' is set repeating a Visual operation counts the size of the
|
||||||
'showbreak' text as part of the operation. (Axel Bender, 2015 Jul 20)
|
'showbreak' text as part of the operation. (Axel Bender, 2015 Jul 20)
|
||||||
|
|
||||||
Patch to apply 'fileformats' when starting Vim. (Mike Williams, 2015 Jul 22)
|
|
||||||
|
|
||||||
Patch for matchit plugin related to multibyte chars. (Ken Takata, 2015 Jul 22)
|
Patch for matchit plugin related to multibyte chars. (Ken Takata, 2015 Jul 22)
|
||||||
|
|
||||||
Patch for multi-byte characters in langmap and applying a mapping on them.
|
Patch for multi-byte characters in langmap and applying a mapping on them.
|
||||||
@ -471,6 +436,7 @@ Mixup of highlighting when there is a match and SpellBad. (ZyX, 2015 Jan 1)
|
|||||||
Patch for drag&drop reordering of GUI tab pages reordering.
|
Patch for drag&drop reordering of GUI tab pages reordering.
|
||||||
(Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)
|
(Ken Takata, 2013 Nov 22, second one, also by Masamichi Abe)
|
||||||
Now on Git: https://gist.github.com/nocd5/165286495c782b815b94
|
Now on Git: https://gist.github.com/nocd5/165286495c782b815b94
|
||||||
|
Update 2016 Mar 15.
|
||||||
|
|
||||||
Patch on Issue 72: 'autochdir' causes problems for :vimgrep.
|
Patch on Issue 72: 'autochdir' causes problems for :vimgrep.
|
||||||
|
|
||||||
@ -3732,7 +3698,7 @@ Syntax highlighting:
|
|||||||
unprintable char another color. Would be useful for ^M at end of line.
|
unprintable char another color. Would be useful for ^M at end of line.
|
||||||
|
|
||||||
|
|
||||||
Built-in script language:
|
Vim script language:
|
||||||
8 Make the filename and line number available to script functions, so that
|
8 Make the filename and line number available to script functions, so that
|
||||||
they can give useful debugging info. The whole call stack would be ideal.
|
they can give useful debugging info. The whole call stack would be ideal.
|
||||||
At least use this for error messages.
|
At least use this for error messages.
|
||||||
@ -3753,14 +3719,10 @@ Built-in script language:
|
|||||||
7 ":include" command: just like ":source" but doesn't start a new scriptID?
|
7 ":include" command: just like ":source" but doesn't start a new scriptID?
|
||||||
Will be tricky for the list of script names.
|
Will be tricky for the list of script names.
|
||||||
8 Have a look at VSEL. Would it be useful to include? (Bigham)
|
8 Have a look at VSEL. Would it be useful to include? (Bigham)
|
||||||
8 Add ":fungroup" command, to group function definitions together. When
|
8 Have a prefix for a function to make it unique. When using packages it
|
||||||
encountered, all functions in the group are removed. Suggest using an
|
can be the plugin name.
|
||||||
obscure name to avoid name clashes. Require a ":fungroup END" in the same
|
Perhaps also have a way to remove everything that the package added?
|
||||||
sourced file? Assume the group ends at the end of the file. Handle
|
including autocommands.
|
||||||
nested packages?
|
|
||||||
Alternative: Support packages. {package-name}:{function-name}().
|
|
||||||
Packages are loaded automatically when first used, from
|
|
||||||
$VIMRUNTIME/packages (or use a search path).
|
|
||||||
7 Pre-parse or compile Vim scripts into a bytecode.
|
7 Pre-parse or compile Vim scripts into a bytecode.
|
||||||
1. Put the bytecode with the original script, with an ":if
|
1. Put the bytecode with the original script, with an ":if
|
||||||
has('bytecode')" around it, so that it's only used with a Vim that
|
has('bytecode')" around it, so that it's only used with a Vim that
|
||||||
@ -3777,8 +3739,6 @@ Built-in script language:
|
|||||||
8 Add functions:
|
8 Add functions:
|
||||||
has(":command") Check if ":command" works. compare function
|
has(":command") Check if ":command" works. compare function
|
||||||
with "ex_ni". E.g. for ":simalt".
|
with "ex_ni". E.g. for ":simalt".
|
||||||
system() With a List argument. Bypasses the shell, use
|
|
||||||
exec() directly. (Bob Hiestand)
|
|
||||||
escape() Add argument to specify what to escape with.
|
escape() Add argument to specify what to escape with.
|
||||||
modestack() Instead of just the current mode return the
|
modestack() Instead of just the current mode return the
|
||||||
stack of Insert / CTRL-O / :normal things.
|
stack of Insert / CTRL-O / :normal things.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*usr_41.txt* For Vim version 7.4. Last change: 2016 Feb 14
|
*usr_41.txt* For Vim version 7.4. Last change: 2016 Mar 15
|
||||||
|
|
||||||
VIM USER MANUAL - by Bram Moolenaar
|
VIM USER MANUAL - by Bram Moolenaar
|
||||||
|
|
||||||
@ -889,9 +889,11 @@ Mappings: *mapping-functions*
|
|||||||
wildmenumode() check if the wildmode is active
|
wildmenumode() check if the wildmode is active
|
||||||
|
|
||||||
Testing: *test-functions*
|
Testing: *test-functions*
|
||||||
assert_equal() assert that two expressions values are equal
|
assert_equal() assert that two expressions values are equal
|
||||||
assert_false() assert that an expression is false
|
assert_false() assert that an expression is false
|
||||||
assert_true() assert that an expression is true
|
assert_true() assert that an expression is true
|
||||||
|
assert_exception() assert that a command throws an exception
|
||||||
|
assert_fails() assert that a function call fails
|
||||||
|
|
||||||
Inter-process communication:
|
Inter-process communication:
|
||||||
ch_open() open a channel
|
ch_open() open a channel
|
||||||
@ -932,7 +934,7 @@ Various: *various-functions*
|
|||||||
perleval() evaluate Perl expression (|+perl|)
|
perleval() evaluate Perl expression (|+perl|)
|
||||||
py3eval() evaluate Python expression (|+python3|)
|
py3eval() evaluate Python expression (|+python3|)
|
||||||
pyeval() evaluate Python expression (|+python|)
|
pyeval() evaluate Python expression (|+python|)
|
||||||
wordcount() get byte/word/char count of buffer
|
wordcount() get byte/word/char count of buffer
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
*41.7* Defining a function
|
*41.7* Defining a function
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*various.txt* For Vim version 7.4. Last change: 2016 Feb 27
|
*various.txt* For Vim version 7.4. Last change: 2016 Mar 20
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -426,6 +426,7 @@ m *+tcl/dyn* Tcl interface |tcl-dynamic| |/dyn|
|
|||||||
N *+termresponse* support for |t_RV| and |v:termresponse|
|
N *+termresponse* support for |t_RV| and |v:termresponse|
|
||||||
N *+textobjects* |text-objects| selection
|
N *+textobjects* |text-objects| selection
|
||||||
*+tgetent* non-Unix only: able to use external termcap
|
*+tgetent* non-Unix only: able to use external termcap
|
||||||
|
N *+timers* the |timer_start()| function
|
||||||
N *+title* Setting the window 'title' and 'icon'
|
N *+title* Setting the window 'title' and 'icon'
|
||||||
N *+toolbar* |gui-toolbar|
|
N *+toolbar* |gui-toolbar|
|
||||||
N *+user_commands* User-defined commands. |user-commands|
|
N *+user_commands* User-defined commands. |user-commands|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" These commands create the option window.
|
" These commands create the option window.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2016 Feb 21
|
" Last Change: 2016 Mar 19
|
||||||
|
|
||||||
" If there already is an option window, jump to that one.
|
" If there already is an option window, jump to that one.
|
||||||
if bufwinnr("option-window") > 0
|
if bufwinnr("option-window") > 0
|
||||||
|
@ -50,7 +50,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
|
|||||||
if data == '':
|
if data == '':
|
||||||
print("=== socket closed ===")
|
print("=== socket closed ===")
|
||||||
break
|
break
|
||||||
print("received: {}".format(data))
|
print("received: {0}".format(data))
|
||||||
try:
|
try:
|
||||||
decoded = json.loads(data)
|
decoded = json.loads(data)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
@ -65,7 +65,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
|
|||||||
else:
|
else:
|
||||||
response = "what?"
|
response = "what?"
|
||||||
encoded = json.dumps([decoded[0], response])
|
encoded = json.dumps([decoded[0], response])
|
||||||
print("sending {}".format(encoded))
|
print("sending {0}".format(encoded))
|
||||||
self.request.sendall(encoded.encode('utf-8'))
|
self.request.sendall(encoded.encode('utf-8'))
|
||||||
thesocket = None
|
thesocket = None
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ if __name__ == "__main__":
|
|||||||
server_thread.start()
|
server_thread.start()
|
||||||
print("Server loop running in thread: ", server_thread.name)
|
print("Server loop running in thread: ", server_thread.name)
|
||||||
|
|
||||||
print("Listening on port {}".format(PORT))
|
print("Listening on port {0}".format(PORT))
|
||||||
while True:
|
while True:
|
||||||
typed = sys.stdin.readline()
|
typed = sys.stdin.readline()
|
||||||
if "quit" in typed:
|
if "quit" in typed:
|
||||||
@ -96,7 +96,7 @@ if __name__ == "__main__":
|
|||||||
if thesocket is None:
|
if thesocket is None:
|
||||||
print("No socket yet")
|
print("No socket yet")
|
||||||
else:
|
else:
|
||||||
print("sending {}".format(typed))
|
print("sending {0}".format(typed))
|
||||||
thesocket.sendall(typed.encode('utf-8'))
|
thesocket.sendall(typed.encode('utf-8'))
|
||||||
|
|
||||||
server.shutdown()
|
server.shutdown()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user