diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-04-05 22:26:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-04-05 22:26:15 +0200 |
commit | bf88493c0979d88279930b5330f667d0bd6b651e (patch) | |
tree | c2caaa5b8b04581ab92d8ba8b8f1738bee5de973 /runtime/doc/change.txt | |
parent | 68879258d98853deb928a8ce93b497d39ce65296 (diff) |
Updated runtime files.
Diffstat (limited to 'runtime/doc/change.txt')
-rw-r--r-- | runtime/doc/change.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 18cc812bd9..bc2c5248f2 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 7.3. Last change: 2012 Nov 02 +*change.txt* For Vim version 7.3. Last change: 2013 Mar 19 VIM REFERENCE MANUAL by Bram Moolenaar @@ -784,6 +784,11 @@ Examples: > :s/abcde/abc^Mde/ modifies "abcde" to "abc", "de" (two lines) :s/$/\^M/ modifies "abcde" to "abcde^M" :s/\w\+/\u\0/g modifies "bla bla" to "Bla Bla" + :s/\w\+/\L\u/g modifies "BLA bla" to "Bla Bla" + +Note: "\L\u" can be used to capitalize the first letter of a word. This is +not compatible with Vi and older versions of Vim, where the "\u" would cancel +out the "\L". Same for "\U\l". Note: In previous versions CTRL-V was handled in a special way. Since this is not Vi compatible, this was removed. Use a backslash instead. |