doc: remove :fixdel

:fixdel was removed in 3baba1e7bc

Helped-by: Michael Reed <m.reed@mykolab.com>
This commit is contained in:
Justin M. Keyes
2015-04-24 01:32:28 -04:00
parent eceff43169
commit a3c0022901
11 changed files with 6 additions and 74 deletions

View File

@@ -32,9 +32,8 @@ For inserting text see |insert.txt|.
"dl".
The <Del> key does not take a [count]. Instead, it
deletes the last character of the count.
See |:fixdel| if the <Del> key does not do what you
want. See |'whichwrap'| for deleting a line break
(join lines). {Vi does not support <Del>}
See |'whichwrap'| for deleting a line break (join
lines). {Vi does not support <Del>}
*X* *dh*
["x]X Delete [count] characters before the cursor [into

View File

@@ -102,12 +102,10 @@ CTRL-E or <End> *c_CTRL-E* *c_<End>* *c_End*
<LeftMouse> Move the cursor to the position of the mouse click.
CTRL-H *c_<BS>* *c_CTRL-H* *c_BS*
<BS> Delete the character in front of the cursor (see |:fixdel| if
your <BS> key does not do what you want).
<BS> Delete the character in front of the cursor.
*c_<Del>* *c_Del*
<Del> Delete the character under the cursor (at end of line:
character before the cursor) (see |:fixdel| if your <Del>
key does not do what you want).
character before the cursor).
*c_CTRL-W*
CTRL-W Delete the |word| before the cursor. This depends on the
'iskeyword' option.

View File

@@ -1226,7 +1226,6 @@ tag command action ~
|:finally| :fina[lly] part of a :try command
|:finish| :fini[sh] quit sourcing a Vim script
|:first| :fir[st] go to the first file in the argument list
|:fixdel| :fix[del] set key code of <Del>
|:fold| :fo[ld] create a fold
|:foldclose| :foldc[lose] close folds
|:folddoopen| :foldd[oopen] execute command on lines not in a closed fold

View File

@@ -67,15 +67,11 @@ CTRL-A Insert previously inserted text. {not in Vi}
*i_CTRL-H* *i_<BS>* *i_BS*
<BS> or CTRL-H Delete the character before the cursor (see |i_backspacing|
about joining lines).
See |:fixdel| if your <BS> key does not do what you want.
{Vi: does not delete autoindents}
*i_<Del>* *i_DEL*
<Del> Delete the character under the cursor. If the cursor is at
the end of the line, and the 'backspace' option includes
"eol", delete the <EOL>; the next line is appended after the
current one.
See |:fixdel| if your <Del> key does not do what you want.
{not in Vi}
*i_CTRL-W*
CTRL-W Delete the word before the cursor (see |i_backspacing| about
joining lines). See the section "word motions",

View File

@@ -471,7 +471,7 @@ available on a few terminals.
Note: There are two codes for the delete key. 127 is the decimal ASCII value
for the delete key, which is always recognized. Some delete keys send another
value, in which case this value is obtained from the termcap entry "kD". Both
values have the same effect. Also see |:fixdel|.
values have the same effect.
Note: The keypad keys are used in the same way as the corresponding "normal"
keys. For example, <kHome> has the same effect as <Home>. If a keypad key

View File

@@ -167,8 +167,6 @@ CTRL-H or *CTRL-H* *<BS>*
:map CTRL-V<BS> X
(to enter "CTRL-V<BS>" type the CTRL-V key, followed
by the <BS> key)
See |:fixdel| if the <BS> key does not do what you
want.
l or *l*
<Right> or *<Right>* *<Space>*

View File

@@ -408,40 +408,6 @@ command, not when assigning a value to an option with ":let".
Note the maximum length of an expanded option is limited. How much depends on
the system, mostly it is something like 256 or 1024 characters.
*:fix* *:fixdel*
:fix[del] Set the value of 't_kD':
't_kb' is 't_kD' becomes ~
CTRL-? CTRL-H
not CTRL-? CTRL-?
(CTRL-? is 0177 octal, 0x7f hex) {not in Vi}
If your delete key terminal code is wrong, but the
code for backspace is alright, you can put this in
your .vimrc: >
:fixdel
< This works no matter what the actual code for
backspace is.
If the backspace key terminal code is wrong you can
use this: >
:if &term == "termname"
: set t_kb=^V<BS>
: fixdel
:endif
< Where "^V" is CTRL-V and "<BS>" is the backspace key
(don't type four characters!). Replace "termname"
with your terminal name.
If your <Delete> key sends a strange key sequence (not
CTRL-? or CTRL-H) you cannot use ":fixdel". Then use: >
:if &term == "termname"
: set t_kD=^V<Delete>
:endif
< Where "^V" is CTRL-V and "<Delete>" is the delete key
(don't type eight characters!). Replace "termname"
with your terminal name.
*Linux-backspace*
Note about Linux: By default the backspace key
produces CTRL-?, which is wrong. You can fix it by
@@ -891,8 +857,6 @@ A jump table for the options with a short description can be found at |Q_op|.
1 same as ":set backspace=indent,eol"
2 same as ":set backspace=indent,eol,start"
See |:fixdel| if your <BS> or <Del> key does not do what you want.
*'backup'* *'bk'* *'nobackup'* *'nobk'*
'backup' 'bk' boolean (default off)
global

View File

@@ -590,8 +590,6 @@ In Insert or Command-line mode:
|:setglobal| :setg[lobal] like ":set" but set the global value
of a local option
|:fix| :fix[del] set value of 't_kD' according to
value of 't_kb'
|:options| :opt[ions] open a new window to view and set
options, grouped by functionality,
a one line explanation and links to

View File

@@ -5132,8 +5132,6 @@ Various improvements:
sufficient. ":setflush" resets the option stack?
How to handle an aborted mapping? Remember position in tag stack when
mapping starts, restore it when an error aborts the mapping?
- Change ":fixdel" into option 'fixdel', t_del will be adjusted each time
t_bs is set? (Webb)
- "gc": goto character, move absolute character positions forward, also
counting newlines. "gC" goes backwards (Weigert).
- When doing CTRL-^, redraw buffer with the same topline. (Demirel) Store

View File

@@ -364,22 +364,6 @@ If the terminal type listed is not correct, fix it. For more hints, see
gvim. This avoids the need for a correct terminal setup.
Q: My Backspace And Delete Keys Don't Work Right
The definition of what key sends what code is very unclear for backspace <BS>
and Delete <Del> keys. First of all, check your $TERM setting. If there is
nothing wrong with it, try this: >
:set t_kb=^V<BS>
:set t_kD=^V<Del>
In the first line you need to press CTRL-V and then hit the backspace key.
In the second line you need to press CTRL-V and then hit the Delete key.
You can put these lines in your vimrc file, see |05.1|. A disadvantage is
that it won't work when you use another terminal some day. Look here for
alternate solutions: |:fixdel|.
Q: I Am Using RedHat Linux. Can I Use the Vim That Comes with the System?
By default RedHat installs a minimal version of Vim. Check your RPM packages

View File

@@ -35,9 +35,7 @@ CTRL-L Clear and redraw the screen. The redraw may happen
Note: if you like to use <BS> for this, add this
mapping to your .vimrc: >
:map CTRL-V <BS> CTRL-V <Del>
< See |:fixdel| if your <Del> key does not do what you
want.
<
:as[cii] or *ga* *:as* *:ascii*
ga Print the ascii value of the character under the
cursor in decimal, hexadecimal and octal. For