aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/insert.txt
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-01-01 10:56:55 +0100
committerGitHub <noreply@github.com>2022-01-01 10:56:55 +0100
commit36a8f31a37a7e9f30043f86c6cf99263c807f0ab (patch)
treed54dab013224aaff9ee1b6e924d632ca3e1d4327 /runtime/doc/insert.txt
parentb218d02c442ebacba1fdef0cca9e40315a46aedd (diff)
downloadrneovim-36a8f31a37a7e9f30043f86c6cf99263c807f0ab.tar.gz
rneovim-36a8f31a37a7e9f30043f86c6cf99263c807f0ab.tar.bz2
rneovim-36a8f31a37a7e9f30043f86c6cf99263c807f0ab.zip
vim-patch:partial 04fb91668482 (#16852)
Update runtime files https://github.com/vim/vim/commit/04fb916684829f6aa12f33f14d0d0023b458f200 omits doc/usr_41.txt (rewritten to focus on vim9script)
Diffstat (limited to 'runtime/doc/insert.txt')
-rw-r--r--runtime/doc/insert.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index fd1d0f8ea6..d74d7cafa8 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -76,6 +76,8 @@ 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.
+ If C-indenting is enabled the indent will be adjusted if the
+ line becomes blank.
See |i_backspacing| about joining lines.
*i_CTRL-U-default*
By default, sets a new undo point before deleting.
@@ -1878,6 +1880,9 @@ When 'autoindent' is on, the indent for a new line is obtained from the
previous line. When 'smartindent' or 'cindent' is on, the indent for a line
is automatically adjusted for C programs.
+'formatoptions' can be set to copy the comment leader when opening a new
+line.
+
'textwidth' can be set to the maximum width for a line. When a line becomes
too long when appending characters a line break is automatically inserted.