summaryrefslogtreecommitdiff
path: root/runtime/doc/insert.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-04-05 17:33:26 +0200
committerBram Moolenaar <Bram@vim.org>2012-04-05 17:33:26 +0200
commit5b435d671e5287975398316b8aa8000c96e6ec92 (patch)
tree5f1797bf37028f5397eb406edff9168cbabfe97e /runtime/doc/insert.txt
parent3675fa09a753bdf0b5eaac209ed8d6739a7e95d4 (diff)
downloadvim-git-5b435d671e5287975398316b8aa8000c96e6ec92.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/doc/insert.txt')
-rw-r--r--runtime/doc/insert.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 924e8a458..030f0de27 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1,4 +1,4 @@
-*insert.txt* For Vim version 7.3. Last change: 2012 Jan 26
+*insert.txt* For Vim version 7.3. Last change: 2012 Apr 05
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -398,7 +398,12 @@ An example for using CTRL-G u: >
This redefines the backspace key to start a new undo sequence. You can now
undo the effect of the backspace key, without changing what you typed before
-that, with CTRL-O u.
+that, with CTRL-O u. Another example: >
+
+ :inoremap <CR> <C-]><C-G>u<CR>
+
+This breaks undo at each line break. It also expands abbreviations before
+this.
Using CTRL-O splits undo: the text typed before and after it is undone
separately. If you want to avoid this (e.g., in a mapping) you might be able