diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2015-01-15 20:18:15 -0300 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2015-04-28 23:08:31 -0300 |
commit | 7fc952ab67afdfef5ba2a90cb277b30ce573333c (patch) | |
tree | a1f0aa7e32bd75347b3ecc4291263f1f133288bb /runtime/doc | |
parent | c5250857733e70d116ccec2cffe08d49772adcdd (diff) | |
download | rneovim-7fc952ab67afdfef5ba2a90cb277b30ce573333c.tar.gz rneovim-7fc952ab67afdfef5ba2a90cb277b30ce573333c.tar.bz2 rneovim-7fc952ab67afdfef5ba2a90cb277b30ce573333c.zip |
vim-patch:7.4.542
Problem: Using a range for window and buffer commands has a few
problems.
Cannot specify the type of range for a user command.
Solution: Add the -addr argument for user commands. Fix problems.
(Marcin Szamotulski
https://code.google.com/p/vim/source/detail?name=v7-4-542
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/map.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 1be2827c2c..d4caea198c 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1358,6 +1358,20 @@ Possible attributes are: Note that -range=N and -count=N are mutually exclusive - only one should be specified. + *E889* *:command-addr* +It is possible that the special characters in the range like `.`, `$` or `%` +which by default correspond to the current line, last line and the whole +buffer, relate to arguments, (loaded) buffers, windows or tab pages. + +Possible values are: + -addr=lines Range of lines (this is the default) + -addr=arguments Range for arguments + -addr=buffers Range for buffers (also not loaded buffers) + -addr=loaded_buffers Range for loaded buffers + -addr=windows Range for windows + -addr=tabs Range for tab pages + + Special cases *:command-bang* *:command-bar* *:command-register* *:command-buffer* There are some special cases as well: |