1
0
forked from aniani/vim

Update runtime files.

This commit is contained in:
Bram Moolenaar 2014-05-13 20:23:24 +02:00
parent 715c286355
commit e968e36a00
12 changed files with 120 additions and 94 deletions

View File

@ -2,6 +2,8 @@
" Language: PHP " Language: PHP
" Maintainer: Dávid Szabó ( complex857 AT gmail DOT com ) " Maintainer: Dávid Szabó ( complex857 AT gmail DOT com )
" Previous Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) " Previous Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
" URL: https://github.com/shawncplus/phpcomplete.vim
" Last Change: 2014 May 08
" "
" OPTIONS: " OPTIONS:
" "
@ -16,7 +18,7 @@
" The completion list generated this way is only filtered by the completion base " The completion list generated this way is only filtered by the completion base
" and generally not much more accurate then simple keyword completion. " and generally not much more accurate then simple keyword completion.
" "
" let g:phpcomplete_search_tags_for_variables = 1/0 [default 0] " let g:phpcomplete_search_tags_for_variables = 1/0 [default 0]
" Enables use of tags when the plugin tries to find variables. " Enables use of tags when the plugin tries to find variables.
" When enabled the plugin will search for the variables in the tag files with kind 'v', " When enabled the plugin will search for the variables in the tag files with kind 'v',
" lines like $some_var = new Foo; but these usually yield highly inaccurate results and " lines like $some_var = new Foo; but these usually yield highly inaccurate results and
@ -138,7 +140,7 @@ function! phpcomplete#CompletePHP(findstart, base) " {{{
unlet! b:compl_context unlet! b:compl_context
" chop of the "base" from the end of the current instruction " chop of the "base" from the end of the current instruction
if a:base != "" if a:base != ""
let context = substitute(context, '\s*\$\?\([a-zA-Z_\x7f-\xff][a-zA-Z_0-9\x7f-\xff]*\)*$', '', '') let context = substitute(context, '\s*[$a-zA-Z_0-9\x7f-\xff]*$', '', '')
end end
end end
@ -1553,12 +1555,14 @@ function! phpcomplete#GetClassName(start_line, context, current_namespace, impor
" do in-file lookup of $var = new Class " do in-file lookup of $var = new Class
if line =~# '^\s*'.object.'\s*=\s*new\s\+'.class_name_pattern && !object_is_array if line =~# '^\s*'.object.'\s*=\s*new\s\+'.class_name_pattern && !object_is_array
let classname_candidate = matchstr(line, object.'\c\s*=\s*new\s*\zs'.class_name_pattern.'\ze') let classname_candidate = matchstr(line, object.'\c\s*=\s*new\s*\zs'.class_name_pattern.'\ze')
let [classname_candidate, class_candidate_namespace] = phpcomplete#ExpandClassName(classname_candidate, a:current_namespace, a:imports)
break break
endif endif
" in-file lookup for Class::getInstance() " in-file lookup for Class::getInstance()
if line =~# '^\s*'.object.'\s*=&\?\s*'.class_name_pattern.'\s*::\s*getInstance' && !object_is_array if line =~# '^\s*'.object.'\s*=&\?\s*'.class_name_pattern.'\s*::\s*getInstance' && !object_is_array
let classname_candidate = matchstr(line, object.'\s*=&\?\s*\zs'.class_name_pattern.'\ze\s*::\s*getInstance') let classname_candidate = matchstr(line, object.'\s*=&\?\s*\zs'.class_name_pattern.'\ze\s*::\s*getInstance')
let [classname_candidate, class_candidate_namespace] = phpcomplete#ExpandClassName(classname_candidate, a:current_namespace, a:imports)
break break
endif endif
@ -1822,8 +1826,6 @@ function! phpcomplete#GetFunctionLocation(function_name, namespace) " {{{
if no_namespace_candidate != '' if no_namespace_candidate != ''
return no_namespace_candidate return no_namespace_candidate
endif endif
endif
endfunction endfunction
" }}} " }}}

View File

@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 7.4. Last change: 2014 Jan 23 *autocmd.txt* For Vim version 7.4. Last change: 2014 May 02
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -569,7 +569,8 @@ FileChangedRO Before making the first change to a read-only
FileChangedShell When Vim notices that the modification time of FileChangedShell When Vim notices that the modification time of
a file has changed since editing started. a file has changed since editing started.
Also when the file attributes of the file Also when the file attributes of the file
change. |timestamp| change or when the size of the file changes.
|timestamp|
Mostly triggered after executing a shell Mostly triggered after executing a shell
command, but also with a |:checktime| command command, but also with a |:checktime| command
or when Gvim regains input focus. or when Gvim regains input focus.

View File

@ -1,4 +1,4 @@
*editing.txt* For Vim version 7.4. Last change: 2013 Nov 25 *editing.txt* For Vim version 7.4. Last change: 2014 May 02
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -1469,14 +1469,15 @@ Notes:
============================================================================== ==============================================================================
10. Timestamps *timestamp* *timestamps* 10. Timestamps *timestamp* *timestamps*
Vim remembers the modification timestamp of a file when you begin editing it. Vim remembers the modification timestamp, mode and size of a file when you
This is used to avoid that you have two different versions of the same file begin editing it. This is used to avoid that you have two different versions
(without you knowing this). of the same file (without you knowing this).
After a shell command is run (|:!cmd| |suspend| |:read!| |K|) timestamps are After a shell command is run (|:!cmd| |suspend| |:read!| |K|) timestamps,
compared for all buffers in a window. Vim will run any associated file modes and file sizes are compared for all buffers in a window. Vim will
|FileChangedShell| autocommands or display a warning for any files that have run any associated |FileChangedShell| autocommands or display a warning for
changed. In the GUI this happens when Vim regains input focus. any files that have changed. In the GUI this happens when Vim regains input
focus.
*E321* *E462* *E321* *E462*
If you want to automatically reload a file when it has been changed outside of If you want to automatically reload a file when it has been changed outside of

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.4. Last change: 2014 Apr 29 *eval.txt* For Vim version 7.4. Last change: 2014 May 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*map.txt* For Vim version 7.4. Last change: 2013 Aug 22 *map.txt* For Vim version 7.4. Last change: 2014 May 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -306,9 +306,21 @@ is disabled. This makes it possible to map zero without making it impossible
to type a count with a zero. to type a count with a zero.
*map-overview* *map-modes* *map-overview* *map-modes*
Overview of which map command works in which mode: Overview of which map command works in which mode. More details below.
COMMANDS MODES ~
:map :noremap :unmap Normal, Visual, Select, Operator-pending
:nmap :nnoremap :nunmap Normal
:vmap :vnoremap :vunmap Visual and Select
:smap :snoremap :sunmap Select
:xmap :xnoremap :xunmap Visual
:omap :onoremap :ounmap Operator-pending
:map! :noremap! :unmap! Insert and Command-line
:imap :inoremap :iunmap Insert
:lmap :lnoremap :lunmap Insert, Command-line, Lang-Arg
:cmap :cnoremap :cunmap Command-line
commands: modes: ~
COMMANDS MODES ~
Normal Visual+Select Operator-pending ~ Normal Visual+Select Operator-pending ~
:map :noremap :unmap :mapclear yes yes yes :map :noremap :unmap :mapclear yes yes yes
:nmap :nnoremap :nunmap :nmapclear yes - - :nmap :nnoremap :nunmap :nmapclear yes - -
@ -324,7 +336,7 @@ NOTE: Mapping a printable character in Select mode may confuse the user. It's
better to explicitly use :xmap and :smap for printable characters. Or use better to explicitly use :xmap and :smap for printable characters. Or use
:sunmap after defining the mapping. :sunmap after defining the mapping.
commands: modes: ~ COMMANDS MODES ~
Visual Select ~ Visual Select ~
:vmap :vnoremap :vunmap :vmapclear yes yes :vmap :vnoremap :vunmap :vmapclear yes yes
:xmap :xnoremap :xunmap :xmapclear yes - :xmap :xnoremap :xunmap :xmapclear yes -
@ -333,7 +345,7 @@ better to explicitly use :xmap and :smap for printable characters. Or use
*mapmode-ic* *mapmode-i* *mapmode-c* *mapmode-l* *mapmode-ic* *mapmode-i* *mapmode-c* *mapmode-l*
Some commands work both in Insert mode and Command-line mode, some not: Some commands work both in Insert mode and Command-line mode, some not:
commands: modes: ~ COMMANDS MODES ~
Insert Command-line Lang-Arg ~ Insert Command-line Lang-Arg ~
:map! :noremap! :unmap! :mapclear! yes yes - :map! :noremap! :unmap! :mapclear! yes yes -
:imap :inoremap :iunmap :imapclear yes - - :imap :inoremap :iunmap :imapclear yes - -

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 7.4. Last change: 2014 Apr 29 *options.txt* For Vim version 7.4. Last change: 2014 May 13
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -4492,6 +4492,8 @@ A jump table for the options with a short description can be found at |Q_op|.
be able to execute Normal mode commands. be able to execute Normal mode commands.
This is the opposite of the 'keymap' option, where characters are This is the opposite of the 'keymap' option, where characters are
mapped in Insert mode. mapped in Insert mode.
This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons.
Example (for Greek, in UTF-8): *greek* > Example (for Greek, in UTF-8): *greek* >
:set langmap=ΑA,ΒB,ΨC,ΔD,ΕE,ΦF,ΓG,ΗH,ΙI,ΞJ,ΚK,ΛL,ΜM,ΝN,ΟO,ΠP,QQ,ΡR,ΣS,ΤT,ΘU,ΩV,WW,ΧX,ΥY,ΖZ,αa,βb,ψc,δd,εe,φf,γg,ηh,ιi,ξj,κk,λl,μm,νn,οo,πp,qq,ρr,σs,τt,θu,ωv,ςw,χx,υy,ζz :set langmap=ΑA,ΒB,ΨC,ΔD,ΕE,ΦF,ΓG,ΗH,ΙI,ΞJ,ΚK,ΛL,ΜM,ΝN,ΟO,ΠP,QQ,ΡR,ΣS,ΤT,ΘU,ΩV,WW,ΧX,ΥY,ΖZ,αa,βb,ψc,δd,εe,φf,γg,ηh,ιi,ξj,κk,λl,μm,νn,οo,πp,qq,ρr,σs,τt,θu,ωv,ςw,χx,υy,ζz
@ -7508,8 +7510,8 @@ A jump table for the options with a short description can be found at |Q_op|.
"s" = button state "s" = button state
"c" = column plus 33 "c" = column plus 33
"r" = row plus 33 "r" = row plus 33
This only works up to 223 columns! See "dec" for a This only works up to 223 columns! See "dec",
solution. "urxvt", and "sgr" for solutions.
xterm2 Works like "xterm", but with the xterm reporting the xterm2 Works like "xterm", but with the xterm reporting the
mouse position while the mouse is dragged. This works mouse position while the mouse is dragged. This works
much faster and more precise. Your xterm must at much faster and more precise. Your xterm must at
@ -7531,29 +7533,35 @@ A jump table for the options with a short description can be found at |Q_op|.
pterm QNX pterm mouse handling. pterm QNX pterm mouse handling.
*urxvt-mouse* *urxvt-mouse*
urxvt Mouse handling for the urxvt (rxvt-unicode) terminal. urxvt Mouse handling for the urxvt (rxvt-unicode) terminal.
The mouse works only if the terminal supports this
encoding style, but it does not have 223 columns limit
unlike "xterm" or "xterm2".
*sgr-mouse* *sgr-mouse*
sgr Mouse handling for the terminal that emits SGR-styled sgr Mouse handling for the terminal that emits SGR-styled
mouse reporting. Works with xterm version 277 or mouse reporting. The mouse works even in columns
later. beyond 223. This option is backward compatible with
"xterm2" because it can also decode "xterm2" style
mouse codes.
The mouse handling must be enabled at compile time |+mouse_xterm| The mouse handling must be enabled at compile time |+mouse_xterm|
|+mouse_dec| |+mouse_netterm|. |+mouse_dec| |+mouse_netterm| |+mouse_jsbterm| |+mouse_urxvt|
|+mouse_sgr|.
Only "xterm"(2) is really recognized. NetTerm mouse codes are always Only "xterm"(2) is really recognized. NetTerm mouse codes are always
recognized, if enabled at compile time. DEC terminal mouse codes recognized, if enabled at compile time. DEC terminal mouse codes
are recognized if enabled at compile time, and 'ttymouse' is not are recognized if enabled at compile time, and 'ttymouse' is not
"xterm" (because the xterm and dec mouse codes conflict). "xterm", "xterm2", "urxvt" or "sgr" (because dec mouse codes conflict
with them).
This option is automatically set to "xterm", when the 'term' option is This option is automatically set to "xterm", when the 'term' option is
set to a name that starts with "xterm", and 'ttymouse' is not "xterm" set to a name that starts with "xterm", "mlterm", or "screen", and
or "xterm2" already. The main use of this option is to set it to 'ttymouse' is not set already.
"xterm", when the terminal name doesn't start with "xterm", but it can Additionally, if vim is compiled with the |+termresponse| feature and
handle xterm mouse codes. |t_RV| is set to the escape sequence to request the xterm version
The "sgr" value will be set if the xterm version is 277 or later. number, more intelligent detection process runs.
The "xterm2" value will be set if the xterm version is reported to be The "xterm2" value will be set if the xterm version is reported to be
95 or higher. This only works when compiled with the |+termresponse| from 95 to 276. The "sgr" value will be set if the xterm version is
feature and if |t_RV| is set to the escape sequence to request the 277 or highter.
xterm version number. Otherwise "xterm2" must be set explicitly. If you do not want 'ttymouse' to be set to "xterm2" or "sgr"
If you do not want 'ttymouse' to be set to "xterm2" automatically, set automatically, set t_RV to an empty string: >
t_RV to an empty string: >
:set t_RV= :set t_RV=
< <
*'ttyscroll'* *'tsl'* *'ttyscroll'* *'tsl'*

View File

@ -1,4 +1,4 @@
*pattern.txt* For Vim version 7.4. Last change: 2014 Feb 08 *pattern.txt* For Vim version 7.4. Last change: 2014 May 13
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*sign.txt* For Vim version 7.4. Last change: 2013 Nov 17 *sign.txt* For Vim version 7.4. Last change: 2014 May 07
VIM REFERENCE MANUAL by Gordon Prieur VIM REFERENCE MANUAL by Gordon Prieur
@ -137,6 +137,7 @@ PLACING SIGNS *:sign-place* *E158*
:sign place {id} line={lnum} name={name} buffer={nr} :sign place {id} line={lnum} name={name} buffer={nr}
Same, but use buffer {nr}. Same, but use buffer {nr}.
*E885*
:sign place {id} name={name} file={fname} :sign place {id} name={name} file={fname}
Change the placed sign {id} in file {fname} to use the defined Change the placed sign {id} in file {fname} to use the defined
sign {name}. See remark above about {fname} |:sign-fname|. sign {name}. See remark above about {fname} |:sign-fname|.

View File

@ -1,4 +1,4 @@
*term.txt* For Vim version 7.4. Last change: 2013 Mar 13 *term.txt* For Vim version 7.4. Last change: 2014 May 13
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -666,8 +666,8 @@ When the X-server clipboard is available, the command server described in
*xterm-copy-paste* *xterm-copy-paste*
NOTE: In some (older) xterms, it's not possible to move the cursor past column NOTE: In some (older) xterms, it's not possible to move the cursor past column
95. This is an xterm problem, not Vim's. Get a newer xterm |color-xterm|. 95 or 223. This is an xterm problem, not Vim's. Get a newer xterm
Now the limit is 223 columns. |color-xterm|. Also see |'ttymouse'|.
Copy/paste in xterm with (current mode NOT included in 'mouse'): Copy/paste in xterm with (current mode NOT included in 'mouse'):
1. Press left mouse button on first letter of text, move mouse pointer to last 1. Press left mouse button on first letter of text, move mouse pointer to last

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.4. Last change: 2014 Apr 30 *todo.txt* For Vim version 7.4. Last change: 2014 May 13
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -35,24 +35,17 @@ not be repeated below, unless there is extra information.
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
Regexp problems: Regexp problems:
- NFA regexp doesn't count tab matches correctly. (Urtica Dioica / gaultheria - Bug with pattern: '\vblock (\d+)\.\n.*\d+%(\1)@<!\.$'
Shallon, 2013 Nov 18) (Lech Lorens, 2014 Feb 3)
- After patch 7.4.100 there is still a difference between NFA and old engine.
25 a's with pattern \v^(aa+)\1+$ (Urtica Dioica, 2013 Nov 21) Also: 9 a's
with pattern \v^(a{-2,})\1+$ (Nov 23)
- NFA engine combining character mismatch. (glts, 2013 Aug 27)
Remark from Dominique, Aug 27
- Issue 164: freeze on regexp search. - Issue 164: freeze on regexp search.
- NFA problem with non-greedy match and branches. (Ingo Karkat, 2013 Nov 29)
- Ignorecase not handled properly for multi-byte characters. (Axel Bender, - Ignorecase not handled properly for multi-byte characters. (Axel Bender,
2013 Dec 11) 2013 Dec 11)
- Using \@> and \?. (Brett Stahlman, 2013 Dec 21) Remark from Marcin Szamotulski - Using \@> and \?. (Brett Stahlman, 2013 Dec 21) Remark from Marcin Szamotulski
Remark from Brett 2014 Jan 6 and 7. Remark from Brett 2014 Jan 6 and 7.
- Bug with back references. (Lech Lorens, 2014 Feb 3)
- Bug when using \>. (Ramel, 2014 Feb 2) (Aaron Bohannon, 2014 Feb 13) - Bug when using \>. (Ramel, 2014 Feb 2) (Aaron Bohannon, 2014 Feb 13)
- NFA regexp doesn't handle \%<v correctly. (Ingo Karkat, 2014 May 12)
Update for documentation of 'ttymouse' option. (Hayaki Saito, 2014 Apr 30) - Does not work with NFA regexp engine:
Typo: s/support/supports/ \%u, \%x, \%o, \%d followed by a composing character
Problem that a previous silent ":throw" causes a following try/catch not to Problem that a previous silent ":throw" causes a following try/catch not to
work. (ZyX, 2013 Sep 28) work. (ZyX, 2013 Sep 28)
@ -60,9 +53,6 @@ work. (ZyX, 2013 Sep 28)
":cd C:\Windows\System32\drivers\etc*" does not work, even though the ":cd C:\Windows\System32\drivers\etc*" does not work, even though the
directory exists. (Sergio Gallelli, 2013 Dec 29) directory exists. (Sergio Gallelli, 2013 Dec 29)
Patch to fix positioning in tabs. (Nobuhiro Takasaki, 2014 Apr 25)
New way to reproduce it: 2014 Apr 29
Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15) Problem using ":try" inside ":execute". (ZyX, 2013 Sep 15)
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack) Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
@ -72,11 +62,6 @@ MS-Windows: Crash opening very long file name starting with "\\".
Syntax highlighting slow (hangs) in SASS file. (Niek Bosch, 2013 Aug 21) Syntax highlighting slow (hangs) in SASS file. (Niek Bosch, 2013 Aug 21)
Inconsistant error messages when comparing dict and when comparing list.
(ZyX, 2014 Apr 19)
Add #ifdef around struct members not used by GTK. (Cade Forester, 2014 Apr 10)
Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19) Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19)
Syntax file for gnuplot. Existing one is very old. (Andrew Rasmussen, 2014 Syntax file for gnuplot. Existing one is very old. (Andrew Rasmussen, 2014
@ -84,8 +69,6 @@ Feb 24)
Add digraph for Rouble: =P. What's the Unicode? Add digraph for Rouble: =P. What's the Unicode?
Include .hgignore in the distribution, so that patches for it work.
Issue 174: Detect Mason files. Issue 174: Detect Mason files.
No error for missing endwhile. (ZyX, 2014 Mar 20) No error for missing endwhile. (ZyX, 2014 Mar 20)
@ -94,9 +77,6 @@ Phpcomplete.vim update. (Complex, 2014 Jan 15)
PHP syntax is extremely slow. (Anhad Jai Singh, 2014 Jan 19) PHP syntax is extremely slow. (Anhad Jai Singh, 2014 Jan 19)
After setting 'spellfile' the screen is not redrawn. (issue 221)
Patch from Christian Brabandt on the issu.
Spell files use a latin single quote. Unicode also has another single quote: Spell files use a latin single quote. Unicode also has another single quote:
0x2019. (Ron Aaron, 2014 Apr 4) 0x2019. (Ron Aaron, 2014 Apr 4)
New OpenOffice spell files support this with ICONV. But they are not New OpenOffice spell files support this with ICONV. But they are not
@ -106,6 +86,9 @@ Win32: use different args for SearchPath()? (Yasuhiro Matsumoto, 2009 Jan 30)
Also fixes wrong result from executable(). Also fixes wrong result from executable().
Update from Ken Takata, 2014 Jan 10. Newer 2014 Apr 3. Update from Ken Takata, 2014 Jan 10. Newer 2014 Apr 3.
Win32: use 64 bit stat() if possible. (Ken Takata, 2014 May 12)
Needs more tests.
Can we make ":unlet $VAR" use unsetenv() to delete the env var? Can we make ":unlet $VAR" use unsetenv() to delete the env var?
What for systems that don't have unsetenv()? What for systems that don't have unsetenv()?
@ -161,6 +144,16 @@ Out of scope:
Setting the spell file in a session only reads the local additions, not the Setting the spell file in a session only reads the local additions, not the
normal spell file. (Enno Nagel, 2014 Mar 29) normal spell file. (Enno Nagel, 2014 Mar 29)
- Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav
Smilauer, 2004 Sep 13, fix Oct 31, update 2007 May 30)
Version for latest MacVim: Tobia Conforto, 2009 Nov 23
More recent version: https://retracile.net/wiki/VimBreakIndent
Posted to vim-dev by Taylor Hedberg, 2011 Nov 25
Update by Taylor Hedberg, 2013 May 30.
Updated for Vim 7.4 by Ken Takata, 2013 Oct 5.
Update by Christian Brabandt, 2014 May 9. Remarks by Ken Takata.
Update by Christian 2014 May 12
When typing the first character of a command, e.g. "f", then using a menu, the When typing the first character of a command, e.g. "f", then using a menu, the
menu item doesn't work. Clear typeahead when using a menu? menu item doesn't work. Clear typeahead when using a menu?
@ -470,10 +463,6 @@ Patch to add tagfunc(). Cleaned up by Christian Brabandt, 2013 Jun 22.
Help for 'b:undo_indent'. (Thilo Six, 2012 May 28) Help for 'b:undo_indent'. (Thilo Six, 2012 May 28)
Also question if examples are correct. Also question if examples are correct.
It should be possible to make globpath() return a list instead of a string,
like with glob(). (Greg Novack, 2012 Nov 2)
Patch by Adnan Zafar, 2013 Jul 15.
The input map for CTRL-O in mswin.vim causes problems after CTRL-X CTRL-O. The input map for CTRL-O in mswin.vim causes problems after CTRL-X CTRL-O.
Suggestion for another map. (Philip Mat, 2012 Jun 18) Suggestion for another map. (Philip Mat, 2012 Jun 18)
But use "gi" instead of "a". Or use CTRL-\ CTRL-O. But use "gi" instead of "a". Or use CTRL-\ CTRL-O.
@ -511,14 +500,6 @@ Apr 18)
Patch for has('unnamedplus') docs. (Tony Mechelynck, 2011 Sep 27) Patch for has('unnamedplus') docs. (Tony Mechelynck, 2011 Sep 27)
And one for gui_x11.txt. And one for gui_x11.txt.
- Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav
Smilauer, 2004 Sep 13, fix Oct 31, update 2007 May 30)
Version for latest MacVim: Tobia Conforto, 2009 Nov 23
More recent version: https://retracile.net/wiki/VimBreakIndent
Posted to vim-dev by Taylor Hedberg, 2011 Nov 25
Update by Taylor Hedberg, 2013 May 30.
Updated for Vim 7.4 by Ken Takata, 2013 Oct 5.
":cd" doesn't work when current directory path contains "**". ":cd" doesn't work when current directory path contains "**".
finddir() has the same problem. (Yukihiro Nakadaira, 2012 Jan 10) finddir() has the same problem. (Yukihiro Nakadaira, 2012 Jan 10)
Requires a rewrite of the file_file_in_path code. Requires a rewrite of the file_file_in_path code.
@ -757,9 +738,6 @@ crash? (Raiwil, 2010 Nov 17)
Patch to add FoldedLineNr highlighting: different highlighting for the line Patch to add FoldedLineNr highlighting: different highlighting for the line
number of a closed fold. (eXerigumo Clanjor, 2013 Jul 15) number of a closed fold. (eXerigumo Clanjor, 2013 Jul 15)
Does not work with NFA regexp engine:
- \%u, \%x, \%o, \%d followed by a composing character
Regexp engine performance: Regexp engine performance:
- Profiling: - Profiling:
./vim -u NONE -s ~/vim/test/ruby.vim ./vim -u NONE -s ~/vim/test/ruby.vim
@ -1078,6 +1056,11 @@ Session file generates error upon loading, cause by --remote-silent-tab.
Using ~ works OK on 'a' with composing char, but not on 0x0418 with composing Using ~ works OK on 'a' with composing char, but not on 0x0418 with composing
char 0x0301. (Tony Mechelynck, 2009 Mar 4) char 0x0301. (Tony Mechelynck, 2009 Mar 4)
Searching for composing char works, but not when inside []. (ZyX, Benjamin R.
Haskell, 2010 Aug 24)
This does not work yet: "a\(%C\)" (get composing characters into a submatch).
A function on a dictionary is not profiled. (ZyX, 2010 Dec 25) A function on a dictionary is not profiled. (ZyX, 2010 Dec 25)
Inconsistent: starting with $LANG set to es_ES.utf-8 gives Spanish Inconsistent: starting with $LANG set to es_ES.utf-8 gives Spanish
@ -1306,9 +1289,6 @@ When 'smartcase' is set and using CTRL-L to add to the search pattern it may
result in no matches. Convert chars to lower case? (Erik Wognsen, 2009 Apr result in no matches. Convert chars to lower case? (Erik Wognsen, 2009 Apr
16) 16)
Searching for composing char works, but not when inside []. (ZyX, Benjamin R.
Haskell, 2010 Aug 24)
Fail to edit file after failed register access. Error flag remains set? Fail to edit file after failed register access. Error flag remains set?
(Lech Lorens, 2010 Aug 30) (Lech Lorens, 2010 Aug 30)
@ -3137,12 +3117,8 @@ Multi-byte characters:
8 toupper() function doesn't handle byte count changes. 8 toupper() function doesn't handle byte count changes.
7 Searching and composing characters: 7 Searching and composing characters:
When searching, should order of composing characters be ignored? When searching, should order of composing characters be ignored?
Add special item to match with a composing character, zero-width, so that
one can replace a base character and keep the composing characters.
Add a special item to match with a composing character, so that composing Add a special item to match with a composing character, so that composing
characters can be manipulated. characters can be manipulated.
Add a modifier to ignore composing characters, only compare base
characters. Useful for Hebrew (Ron Aaron)
8 Should implement 'delcombine' for command line editing. 8 Should implement 'delcombine' for command line editing.
8 Detect overlong UTF-8 sequences and handle them like illegal bytes. 8 Detect overlong UTF-8 sequences and handle them like illegal bytes.
8 ":s/x/\u\1/" doesn't work, making uppercase isn't done for multi-byte 8 ":s/x/\u\1/" doesn't work, making uppercase isn't done for multi-byte

View File

@ -1,4 +1,4 @@
*various.txt* For Vim version 7.4. Last change: 2014 Apr 01 *various.txt* For Vim version 7.4. Last change: 2014 May 02
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -266,8 +266,8 @@ g8 Print the hex values of the bytes used in the
(to use aliases) set 'shellcmdflag' to "-ic". (to use aliases) set 'shellcmdflag' to "-ic".
For Win32 also see |:!start|. For Win32 also see |:!start|.
After the command has been executed, the timestamp of After the command has been executed, the timestamp and
the current file is checked |timestamp|. size of the current file is checked |timestamp|.
Vim redraws the screen after the command is finished, Vim redraws the screen after the command is finished,
because it may have printed any text. This requires a because it may have printed any text. This requires a

View File

@ -1,6 +1,6 @@
" Vim script to work like "less" " Vim script to work like "less"
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2012 May 18 " Last Change: 2014 May 13
" Avoid loading this file twice, allow the user to define his own script. " Avoid loading this file twice, allow the user to define his own script.
if exists("loaded_less") if exists("loaded_less")
@ -87,6 +87,9 @@ noremap <script> <Space> :call <SID>NextPage()<CR><SID>L
map <C-V> <Space> map <C-V> <Space>
map f <Space> map f <Space>
map <C-F> <Space> map <C-F> <Space>
map <PageDown> <Space>
map <kPageDown> <Space>
map <S-Down> <Space>
map z <Space> map z <Space>
map <Esc><Space> <Space> map <Esc><Space> <Space>
fun! s:NextPage() fun! s:NextPage()
@ -116,10 +119,14 @@ map e <CR>
map <C-E> <CR> map <C-E> <CR>
map j <CR> map j <CR>
map <C-J> <CR> map <C-J> <CR>
map <Down> <CR>
" Scroll one page backward " Scroll one page backward
noremap <script> b <C-B><SID>L noremap <script> b <C-B><SID>L
map <C-B> b map <C-B> b
map <PageUp> b
map <kPageUp> b
map <S-Up> b
map w b map w b
map <Esc>v b map <Esc>v b
@ -133,6 +140,7 @@ map y k
map <C-Y> k map <C-Y> k
map <C-P> k map <C-P> k
map <C-K> k map <C-K> k
map <Up> k
" Redraw " Redraw
noremap <script> r <C-L><SID>L noremap <script> r <C-L><SID>L
@ -143,11 +151,15 @@ noremap <script> R <C-L><SID>L
noremap <script> g gg<SID>L noremap <script> g gg<SID>L
map < g map < g
map <Esc>< g map <Esc>< g
map <Home> g
map <kHome> g
" End of file " End of file
noremap <script> G G<SID>L noremap <script> G G<SID>L
map > G map > G
map <Esc>> G map <Esc>> G
map <End> G
map <kEnd> G
" Go to percentage " Go to percentage
noremap <script> % %<SID>L noremap <script> % %<SID>L
@ -184,6 +196,7 @@ fun! s:Backward()
endfun endfun
call s:Forward() call s:Forward()
cunmap <CR>
" Quitting " Quitting
noremap q :q<CR> noremap q :q<CR>
@ -240,6 +253,18 @@ fun! s:End()
unmap v unmap v
unmap / unmap /
unmap ? unmap ?
unmap <Up>
unmap <Down>
unmap <PageDown>
unmap <kPageDown>
unmap <PageUp>
unmap <kPageUp>
unmap <S-Down>
unmap <S-Up>
unmap <Home>
unmap <kHome>
unmap <End>
unmap <kEnd>
endfun endfun
" vim: sw=2 " vim: sw=2