1- *version7.txt* For Vim version 7.4a. Last change: 2013 Jul 13
1+ *version7.txt* For Vim version 7.4a. Last change: 2013 Jul 24
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -9150,7 +9150,7 @@ Files: src/ops.c
91509150
91519151Patch 7.2.293
91529152Problem: When setting 'comments' option it may be used in a wrong way.
9153- Solution: Don't increment after skipping over digets . (Yukihiro Nakadaira)
9153+ Solution: Don't increment after skipping over digits . (Yukihiro Nakadaira)
91549154Files: src/misc1.c
91559155
91569156Patch 7.2.294
@@ -10192,131 +10192,82 @@ Better Python interface *better-python-interface*
1019210192
1019310193Added |python-bindeval| function. Unlike |python-eval| this one returns
1019410194|python-Dictionary|, |python-List| and |python-Function| objects for
10195- dictionaries lists and functions respectively in place of their python
10195+ dictionaries lists and functions respectively in place of their Python
1019610196built-in equivalents (or None if we are talking about function references).
10197- For simple types this function returns python built-in types and not only
10198- python `str()` like |python-eval| does. On python 3 it will return `bytes()`
10197+ For simple types this function returns Python built-in types and not only
10198+ Python `str()` like |python-eval| does. On Python 3 it will return `bytes()`
1019910199objects in place of `str()` ones avoiding possibility of UnicodeDecodeError.
10200- Interface of new objects mimics standard python `dict()` and `list()`
10200+ Interface of new objects mimics standard Python `dict()` and `list()`
1020110201interfaces to some extent. Extent will be improved in the future.
1020210202
1020310203Added special |python-vars| objects also available for |python-buffer| and
10204- |python-window|. They ease access to VimL variables from python .
10204+ |python-window|. They ease access to VimL variables from Python .
1020510205
1020610206Now you no longer need to alter `sys.path` to import your module: special
1020710207hooks are responsible for importing from {rtp}/python2, {rtp}/python3 and
10208- {rtp}/pythonx directories (for python 2, python 3 and both respectively).
10208+ {rtp}/pythonx directories (for Python 2, Python 3 and both respectively).
1020910209See |python-special-path|.
1021010210
1021110211Added possibility to work with |tabpage|s through |python-tabpage| object.
1021210212
10213- Added automatic conversion of vim errors and exceptions to python
10213+ Added automatic conversion of Vim errors and exceptions to Python
1021410214exceptions.
1021510215
10216- Changed the behavior of |python-buffers| object: it now uses buffer numbers
10216+ Changed the behavior of the |python-buffers| object: it now uses buffer numbers
1021710217as keys in place of the index of the buffer in the internal buffer list.
1021810218This should not break anything as the only way to get this index was
1021910219iterating over |python-buffers|.
1022010220
1022110221Added |:pydo| and |:py3do| commands.
1022210222
10223- Added |pyeval()| and |py3eval()| functions.
10223+ Added the |pyeval()| and |py3eval()| functions.
1022410224
10225- Now in all places which previously accepted `str()` objects in both python
10226- version both `str()` and `unicode()` (python 2) or `bytes()` and `str()`
10227- (python 3) are accepted.
10225+ Now in all places which previously accepted `str()` objects, `str()` and
10226+ `unicode()` (Python 2) or `bytes()` and `str()` (Python 3) are accepted.
1022810227
1022910228|python-window| has gained `.col` and `.row` attributes that are currently
1023010229the only way to get internal window positions.
1023110230
10232- Added or fixed support for `dir()` in vim python objects.
10233-
10234- Old python versions (≤2.2) are no longer supported. Building with them did
10235- not work anyway.
10231+ Added or fixed support for `dir()` in Vim Python objects.
1023610232
1023710233
1023810234Changed *changed-7.4*
1023910235-------
1024010236
10241- Functions:
10242- Added ability to use |Dictionary-function|s for |sort()|ing, via
10243- optional third argument. (Nikolay Pavlov)
10244-
10245- Added special |expand()| argument that expands to the current line
10246- number.
10247-
10248- Made it possible to force |char2nr()| always give unicode codepoints
10249- regardless of current encoding. (Yasuhiro Matsumoto)
10250-
10251- Made it possible for functions generating file list generate |List|
10252- and not NL-separated string. (e.g. |glob()|, |expand()|) (Christian
10253- Brabandt)
10254-
10255- Functions that obtain variables from the specific window, tabpage or
10256- buffer scope dictionary can now return specified default value in
10257- place of empty string in case variable is not found. (|gettabvar()|,
10258- |getwinvar()|, |getbufvar()|) (Shougo Matsushita, Hirohito Higashi)
10237+ Old Python versions (≤2.2) are no longer supported. Building with them did
10238+ not work anyway.
1025910239
1026010240Options:
10261- Added ability to automatically save selection into the system
10262- clipboard when using non-GUI version of vim (autoselectplus in
10263- 'clipboard'). Also added ability to use system clipboard as default
10264- register (previously only primary selection could be used). (Ivan
10265- Krasilnikov, Christian Brabandt, Bram Moolenaar)
10266-
10267- Added special 'shiftwidth' value that makes 'sw' follow 'tabstop'. As
10268- indenting via 'indentexpr' became tricky |shiftwidth()| function was
10269- added. Also added equivalent special value to 'softtabstop' option.
10270- (Christian Brabandt, so8res)
10271-
10272- Added ability to delete comment leader when using |J| by `j` flag in
10273- 'formatoptions' (|fo-table|). (Lech Lorens)
10274-
10275- Added ability to control indentation inside namespaces: |cino-N|.
10276- (Konstantin Lepa)
10241+ Added ability to automatically save the selection into the system
10242+ clipboard when using non-GUI version of Vim (autoselectplus in
10243+ 'clipboard'). Also added ability to use the system clipboard as
10244+ default register (previously only primary selection could be used).
10245+ (Ivan Krasilnikov, Christian Brabandt, Bram Moolenaar)
1027710246
10278- Added ability to control alignment inside `if` condition separately
10279- from alignment inside function arguments: |cino-k|. (Lech Lorens)
10247+ Added a special 'shiftwidth' value that makes 'sw' follow 'tabstop'.
10248+ As indenting via 'indentexpr' became tricky |shiftwidth()| function
10249+ was added. Also added equivalent special value to 'softtabstop'
10250+ option. (Christian Brabandt, so8res)
1028010251
10281- Added ability to show absolute number in number column when
10282- 'relativenumber' option is on. (Christian Brabandt)
10283-
10284- Comands:
10285- Made it possible to remove all signs from the current buffer using
10286- |:sign-unplace|. (Christian Brabandt)
10287-
10288- Added |:language| autocompletion. (Dominique Pelle)
10252+ Show absolute number in number column when 'relativenumber' option is
10253+ on. Now there are four combinations with 'number' and
10254+ 'relativenumber'. (Christian Brabandt)
1028910255
10256+ Commands:
1029010257 |:diffoff| now saves the local values of some settings and restores
1029110258 them in place of blindly resetting them to the defaults. (Christian
1029210259 Brabandt)
1029310260
10294- Added |:map-nowait| creating mapping which when having lhs that is the
10295- prefix of another mapping’s lhs will not allow vim to wait for user to
10296- type more characters to resolve ambiguity, forcing vim to take the
10297- shorter alternative: one with <nowait>.
10298-
10299- Added more |:command-complete| completion types: |:behave| suboptions,
10300- color schemes, compilers, |:cscope| suboptions, files from 'path',
10301- |:history| suboptions, locale names, |:syntime| suboptions, user
10302- names. (Dominique Pelle)
10303-
1030410261Other:
10305- Improved support for cmd.exe. (Ben Fritz, Bram Moolenaar)
10306-
10307- Added |v:windowid| variable containing current window number in GUI
10308- vim. (Christian J. Robinson, Lech Lorens)
10309-
10310- Lua interface now also uses userdata binded to vim structures. (Taro
10262+ Lua interface now also uses userdata binded to Vim structures. (Taro
1031110263 Muraoka, Luis Carvalho)
1031210264
10313- Added rxvt-unicode and >xterm-277 mouse support. (Yiding Jia, Hayaki
10314- Saito)
10315-
1031610265Added *added-7.4*
1031710266-----
1031810267
10319- Added support for |Lists| and |Dictionaries| in |viminfo|. (Christian
10268+ Various syntax, indent and other plugins were added.
10269+
10270+ Added support for |Lists| and |Dictionaries| in |viminfo|. (Christian
1032010271Brabandt)
1032110272
1032210273Functions:
@@ -10331,14 +10282,32 @@ Functions:
1033110282 Debugging functions: |screenattr()|, |screenchar()|, |screencol()|,
1033210283 |screenrow()|. (Simon Ruderich, Bram Moolenaar)
1033310284
10285+ Added ability to use |Dictionary-function|s for |sort()|ing, via
10286+ optional third argument. (Nikolay Pavlov)
10287+
10288+ Added special |expand()| argument that expands to the current line
10289+ number.
10290+
10291+ Made it possible to force |char2nr()| always give unicode codepoints
10292+ regardless of current encoding. (Yasuhiro Matsumoto)
10293+
10294+ Made it possible for functions generating file list generate |List|
10295+ and not NL-separated string. (e.g. |glob()|, |expand()|) (Christian
10296+ Brabandt)
10297+
10298+ Functions that obtain variables from the specific window, tabpage or
10299+ buffer scope dictionary can now return specified default value in
10300+ place of empty string in case variable is not found. (|gettabvar()|,
10301+ |getwinvar()|, |getbufvar()|) (Shougo Matsushita, Hirohito Higashi)
10302+
1033410303Autocommands:
1033510304 Added |InsertCharPre| event launched before inserting character.
1033610305 (Jakson A. Aquino)
1033710306
1033810307 Added |CompleteDone| event launched after finishing completion in
1033910308 insert mode. (idea by Florian Klein)
1034010309
10341- Added |QuitPre| event launched when commands that can either close vim
10310+ Added |QuitPre| event launched when commands that can either close Vim
1034210311 or only some window(s) are launched.
1034310312
1034410313 Added |TextChanged| and |TextChangedI| events launched when text is
@@ -10347,14 +10316,45 @@ Autocommands:
1034710316Commands:
1034810317 |:syntime| command useful for debugging.
1034910318
10319+ Made it possible to remove all signs from the current buffer using
10320+ |:sign-unplace|. (Christian Brabandt)
10321+
10322+ Added |:language| autocompletion. (Dominique Pelle)
10323+
10324+ Added more |:command-complete| completion types: |:behave| suboptions,
10325+ color schemes, compilers, |:cscope| suboptions, files from 'path',
10326+ |:history| suboptions, locale names, |:syntime| suboptions, user
10327+ names. (Dominique Pelle)
10328+
10329+ Added |:map-nowait| creating mapping which when having lhs that is the
10330+ prefix of another mapping’s lhs will not allow Vim to wait for user to
10331+ type more characters to resolve ambiguity, forcing Vim to take the
10332+ shorter alternative: one with <nowait>.
10333+
1035010334Options:
1035110335 Made it possible to ignore case when completing: 'wildignorecase'.
1035210336
10353- Various syntax, indent and other plugins were added.
10337+ Added ability to delete comment leader when using |J| by `j` flag in
10338+ 'formatoptions' (|fo-table|). (Lech Lorens)
1035410339
10340+ Added ability to control indentation inside namespaces: |cino-N|.
10341+ (Konstantin Lepa)
1035510342
10356- Fixed *fixed-7.4*
10357- -----
10343+ Added ability to control alignment inside `if` condition separately
10344+ from alignment inside function arguments: |cino-k|. (Lech Lorens)
10345+
10346+ Other:
10347+ Improved support for cmd.exe. (Ben Fritz, Bram Moolenaar)
10348+
10349+ Added |v:windowid| variable containing current window number in GUI
10350+ Vim. (Christian J. Robinson, Lech Lorens)
10351+
10352+ Added rxvt-unicode and >xterm-277 mouse support. (Yiding Jia, Hayaki
10353+ Saito)
10354+
10355+
10356+ All changes in 7.4 *fixed-7.4*
10357+ ------------------
1035810358
1035910359Patch 7.3.001
1036010360Problem: When editing "src/main.c" and 'path' set to "./proto",
@@ -12181,7 +12181,7 @@ Problem: Can't compile with tiny features.
1218112181Solution: Add #ifdef around win_valid().
1218212182Files: src/buffer.c
1218312183
12184- Patch 7.3.313 after 7.3.307)
12184+ Patch 7.3.313 ( after 7.3.307)
1218512185Problem: One more warning when compiling with dynamic Python 3.
1218612186Solution: Change PySliceObject to PyObject.
1218712187Files: src/if_python3.c
0 commit comments