aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-07-19 06:14:26 -0400
committerMichael Reed <m.reed@mykolab.com>2015-07-20 20:43:09 -0400
commit4455fc3f05ccee06d416d269d3a83a423b0b15b8 (patch)
tree8ee4113237d9434feac32c0561d3e72d2550fe75 /runtime/doc
parentbd753bdacce6e4e935ac7e93f29bf30223131e5e (diff)
downloadrneovim-4455fc3f05ccee06d416d269d3a83a423b0b15b8.tar.gz
rneovim-4455fc3f05ccee06d416d269d3a83a423b0b15b8.tar.bz2
rneovim-4455fc3f05ccee06d416d269d3a83a423b0b15b8.zip
Remove ':Print' command #3049
There's no way this isn't some long-running joke: "Just as ':print'. Was apparently added to Vi for people that keep the shift key pressed too long..." Note: A user command can overrule this command. Regarding ':X': the command has been removed for a while, but the documentation must have been missed, so remove it here. Reviewed-by: Justin M. Keyes <justinkz@gmail.com> Helped-by: @jusga
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/index.txt1
-rw-r--r--runtime/doc/map.txt5
-rw-r--r--runtime/doc/usr_40.txt4
-rw-r--r--runtime/doc/various.txt7
-rw-r--r--runtime/doc/vim_diff.txt1
5 files changed, 4 insertions, 14 deletions
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index fd5bf1c50e..a1f593765f 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -1070,7 +1070,6 @@ tag command action ~
|:@| :@ execute contents of a register
|:@@| :@@ repeat the previous ":@"
|:Next| :N[ext] go to previous file in the argument list
-|:Print| :P[rint] print lines
|:append| :a[ppend] append text
|:abbreviate| :ab[breviate] enter abbreviation
|:abclear| :abc[lear] remove all abbreviations
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt
index 699915a86f..37e1235a81 100644
--- a/runtime/doc/map.txt
+++ b/runtime/doc/map.txt
@@ -1132,9 +1132,7 @@ For starters: See section |40.2| in the user manual.
All user defined commands must start with an uppercase letter, to avoid
confusion with builtin commands. Exceptions are these builtin commands:
:Next
- :X
-They cannot be used for a user defined command. ":Print" is also an existing
-command, but it is deprecated and can be overruled.
+They cannot be used for a user defined command.
The other characters of the user command can be uppercase letters, lowercase
letters or digits. When using digits, note that other commands that take a
@@ -1154,7 +1152,6 @@ Example: >
:Renu " Means "Renumber"
:Ren " Error - ambiguous
:command Paste ...
- :P " The built-in :Print
It is recommended that full names for user-defined commands are used in
scripts.
diff --git a/runtime/doc/usr_40.txt b/runtime/doc/usr_40.txt
index 9d706481df..b802c9534a 100644
--- a/runtime/doc/usr_40.txt
+++ b/runtime/doc/usr_40.txt
@@ -290,8 +290,8 @@ deletes the first line.
Note:
User-defined commands must start with a capital letter. You cannot
- use ":X", ":Next" and ":Print". The underscore cannot be used! You
- can use digits, but this is discouraged.
+ use ":Next". The underscore cannot be used! You can use digits, but
+ this is discouraged.
To list the user-defined commands, execute the following command: >
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index a241e2beaf..5fb6dac402 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -91,13 +91,6 @@ g8 Print the hex values of the bytes used in the
current line |cmdline-ranges|).
See |ex-flags| for [flags].
- *:P* *:Print*
-:[range]P[rint] [count] [flags]
- Just as ":print". Was apparently added to Vi for
- people that keep the shift key pressed too long...
- Note: A user command can overrule this command.
- See |ex-flags| for [flags].
-
*:l* *:list*
:[range]l[ist] [count] [flags]
Same as :print, but display unprintable characters
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 5e6a89b7fe..a586fe4644 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -150,6 +150,7 @@ Other options:
'weirdinvert'
Other commands:
+ :Print
:fixdel
:mode (no longer accepts an argument)
:shell