diff options
author | David Bürgin <676c7473@gmail.com> | 2015-04-25 18:07:24 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-04-27 01:08:17 -0400 |
commit | 4230f8c332ce56ed2369f1500f7eaceb0bd968f3 (patch) | |
tree | 7f5d5dea711d64f0395ed608c748e71db775957d /runtime | |
parent | b85db92d7f88aa9636bdc5b49d0f4d7d50eba389 (diff) | |
download | rneovim-4230f8c332ce56ed2369f1500f7eaceb0bd968f3.tar.gz rneovim-4230f8c332ce56ed2369f1500f7eaceb0bd968f3.tar.bz2 rneovim-4230f8c332ce56ed2369f1500f7eaceb0bd968f3.zip |
'cpoptions': Remove "w" flag #2507
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/change.txt | 3 | ||||
-rw-r--r-- | runtime/doc/motion.txt | 4 | ||||
-rw-r--r-- | runtime/doc/options.txt | 4 |
3 files changed, 1 insertions, 10 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index c27076dd23..2453cd2caf 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -248,9 +248,6 @@ Special case: When the cursor is in a word, "cw" and "cW" do not include the white space after a word, they only change up to the end of the word. This is because Vim interprets "cw" as change-word, and a word does not include the following white space. -{Vi: "cw" when on a blank followed by other blanks changes only the first -blank; this is probably a bug, because "dw" deletes all the blanks; use the -'w' flag in 'cpoptions' to make it work like Vi anyway} If you prefer "cw" to include the space after a word, use this mapping: > :map cw dwi diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt index 6d79f6a66b..2d4f23d443 100644 --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -409,9 +409,7 @@ WORD before the fold. Special case: "cw" and "cW" are treated like "ce" and "cE" if the cursor is on a non-blank. This is because "cw" is interpreted as change-word, and a -word does not include the following white space. {Vi: "cw" when on a blank -followed by other blanks changes only the first blank; this is probably a -bug, because "dw" deletes all the blanks} +word does not include the following white space. Another special case: When using the "w" motion in combination with an operator and the last word moved over is at the end of a line, the end of diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 443fe065e7..3ef3e689a6 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1945,10 +1945,6 @@ A jump table for the options with a short description can be found at |Q_op|. erased from the screen right away. With this flag the screen newly typed text overwrites backspaced characters. - *cpo-w* - w When using "cw" on a blank character, only change one - character and not all blanks until the start of the - next word. *cpo-W* W Don't overwrite a readonly file. When omitted, ":w!" overwrites a readonly file, if possible. |