From 2cb8db34e3a275dec3dacb10fdc75640f4ec8174 Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Mon, 16 Aug 2021 19:28:52 -0600 Subject: feat: defaults: set undo points in and (#15400) --- runtime/doc/insert.txt | 6 ++++++ runtime/doc/vim_diff.txt | 2 ++ 2 files changed, 8 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index c8a4168ab2..bb00c77ca8 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -68,12 +68,18 @@ CTRL-A Insert previously inserted text. CTRL-W Delete the word before the cursor (see |i_backspacing| about joining lines). See the section "word motions", |word-motions|, for the definition of a word. + *i_CTRL-W-default* + By default, sets a new undo point before deleting. + |default-mappings| *i_CTRL-U* CTRL-U Delete all entered characters before the cursor in the current line. If there are no newly entered characters and 'backspace' is not empty, delete all characters before the cursor in the current line. See |i_backspacing| about joining lines. + *i_CTRL-U-default* + By default, sets a new undo point before deleting. + |default-mappings| *i_CTRL-I* *i_* *i_Tab* or CTRL-I Insert a tab. If the 'expandtab' option is on, the equivalent number of spaces is inserted (use CTRL-V to diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index ecc3f52077..7e1bd3e087 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -78,6 +78,8 @@ Default Mappings: *default-mappings* nnoremap Y y$ nnoremap nohlsearchdiffupdate +inoremap u +inoremap u ============================================================================== 3. New Features *nvim-features* -- cgit