summaryrefslogtreecommitdiff
path: root/runtime/doc/various.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-05 18:13:34 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-05 18:13:34 +0200
commit25c9c680ec4dfbb51f4ef21c3460a48d3c67ffc8 (patch)
tree0b70444195e194bf5c99df419361bc2052373c02 /runtime/doc/various.txt
parent9a061cb78ccbf78ec9ae454d37a49edccb4e94fc (diff)
downloadvim-git-25c9c680ec4dfbb51f4ef21c3460a48d3c67ffc8.tar.gz
patch 8.1.1280: remarks about functionality not in Vi clutters the helpv8.1.1280
Problem: Remarks about functionality not in Vi clutters the help. Solution: Move all info about what is new in Vim or already existed in Vi to vi_diff.txt. Remove {not in Vi} remarks. (closes #4268) Add "noet" to the help files modeline. Also include many other help file improvements.
Diffstat (limited to 'runtime/doc/various.txt')
-rw-r--r--runtime/doc/various.txt35
1 files changed, 12 insertions, 23 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 8b4f988ee..79889276a 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt* For Vim version 8.1. Last change: 2019 Mar 23
+*various.txt* For Vim version 8.1. Last change: 2019 May 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -73,8 +73,6 @@ ga Print the ascii value of the character under the
<ö> 246, Hex 00f6, Oct 366, Digr o: ~
This shows you can type CTRL-K o : to insert ö.
- {not in Vi}
-
*g8*
g8 Print the hex values of the bytes used in the
character under the cursor, assuming it is in |UTF-8|
@@ -82,7 +80,6 @@ g8 Print the hex values of the bytes used in the
value of 'maxcombine' doesn't matter.
Example of a character with two composing characters:
e0 b8 81 + e0 b8 b9 + e0 b9 89 ~
- {not in Vi}
*8g8*
8g8 Find an illegal UTF-8 byte sequence at or after the
@@ -97,7 +94,6 @@ g8 Print the hex values of the bytes used in the
Note that when the cursor is on an illegal byte or the
cursor is halfway a multi-byte character the command
won't move the cursor.
- {not in Vi}
*:p* *:pr* *:print* *E749*
:[range]p[rint] [flags]
@@ -174,7 +170,6 @@ g8 Print the hex values of the bytes used in the
:{range}z#[+-^.=]{count} *:z#*
Like ":z", but number the lines.
- {not in all versions of Vi, not with these arguments}
*:=*
:= [flags] Print the last line number.
@@ -224,7 +219,6 @@ g8 Print the hex values of the bytes used in the
Example: >
:exe "normal \<c-w>\<c-w>"
-< {not in Vi, of course}
:{range}norm[al][!] {commands} *:normal-range*
Execute Normal mode commands {commands} for each line
@@ -232,7 +226,6 @@ g8 Print the hex values of the bytes used in the
cursor is positioned in the first column of the range,
for each line. Otherwise it's the same as the
":normal" command without a range.
- {not in Vi}
*:sh* *:shell* *E371*
:sh[ell] This command starts a shell. When the shell exits
@@ -490,7 +483,7 @@ N *+X11* Unix only: can restore window title |X11|
:ve[rsion] {nr} Is now ignored. This was previously used to check the
version number of a .vimrc file. It was removed,
because you can now use the ":if" command for
- version-dependent behavior. {not in Vi}
+ version-dependent behavior.
*:redi* *:redir*
:redi[r][!] > {file} Redirect messages to file {file}. The messages which
@@ -510,31 +503,28 @@ N *+X11* Unix only: can restore window title |X11|
with ":silent call Function()".
An alternative is to use the 'verbosefile' option,
this can be used in combination with ":redir".
- {not in Vi}
:redi[r] >> {file} Redirect messages to file {file}. Append if {file}
- already exists. {not in Vi}
+ already exists.
:redi[r] @{a-zA-Z}
:redi[r] @{a-zA-Z}> Redirect messages to register {a-z}. Append to the
contents of the register if its name is given
uppercase {A-Z}. The ">" after the register name is
- optional. {not in Vi}
-:redi[r] @{a-z}>> Append messages to register {a-z}. {not in Vi}
+ optional.
+:redi[r] @{a-z}>> Append messages to register {a-z}.
:redi[r] @*>
:redi[r] @+> Redirect messages to the selection or clipboard. For
backward compatibility, the ">" after the register
name can be omitted. See |quotestar| and |quoteplus|.
- {not in Vi}
:redi[r] @*>>
:redi[r] @+>> Append messages to the selection or clipboard.
- {not in Vi}
:redi[r] @"> Redirect messages to the unnamed register. For
backward compatibility, the ">" after the register
- name can be omitted. {not in Vi}
-:redi[r] @">> Append messages to the unnamed register. {not in Vi}
+ name can be omitted.
+:redi[r] @">> Append messages to the unnamed register.
:redi[r] => {var} Redirect messages to a variable. If the variable
doesn't exist, then it is created. If the variable
@@ -543,14 +533,14 @@ N *+X11* Unix only: can restore window title |X11|
Only string variables can be used. After the
redirection starts, if the variable is removed or
locked or the variable type is changed, then further
- command output messages will cause errors. {not in Vi}
+ command output messages will cause errors.
To get the output of one command the |execute()|
function can be used.
:redi[r] =>> {var} Append messages to an existing variable. Only string
- variables can be used. {not in Vi}
+ variables can be used.
-:redi[r] END End redirecting messages. {not in Vi}
+:redi[r] END End redirecting messages.
*:filt* *:filter*
:filt[er][!] {pat} {command}
@@ -692,12 +682,11 @@ K Run a program to lookup the keyword under the
< - When 'keywordprg' is equal to "man -s", a count
before "K" is inserted after the "-s". If there is
no count, the "-s" is removed.
- {not in Vi}
*v_K*
{Visual}K Like "K", but use the visually highlighted text for
the keyword. Only works when the highlighted text is
- not more than one line. {not in Vi}
+ not more than one line.
[N]gs *gs* *:sl* *:sleep*
:[N]sl[eep] [N] [m] Do nothing for [N] seconds. When [m] is included,
@@ -710,7 +699,7 @@ K Run a program to lookup the keyword under the
< Can be interrupted with CTRL-C (CTRL-Break on MS-DOS).
"gs" stands for "goto sleep".
While sleeping the cursor is positioned in the text,
- if at a visible position. {not in Vi}
+ if at a visible position.
Also process the received netbeans messages. {only
available when compiled with the |+netbeans_intg|
feature}