aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/insert.txt10
-rw-r--r--runtime/doc/news.txt1
-rw-r--r--runtime/doc/vim_diff.txt1
3 files changed, 12 insertions, 0 deletions
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index 27b28624f8..48fd442b7e 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1907,6 +1907,16 @@ These commands are used to start inserting text. You can end insert mode with
<Esc>. See |mode-ins-repl| for the other special characters in Insert mode.
The effect of [count] takes place after Insert mode is exited.
+The following commands insert text, but stay in normal mode:
+
+ *]<Space>*
+]<Space> Insert an empty line below the cursor without leaving
+ Normal mode, repeat [count] times.
+
+ *[<Space>*
+[<Space> Insert an empty line above the cursor without leaving
+ Normal mode, repeat [count] times.
+
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.
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 3a8277f566..df794596b8 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -178,6 +178,7 @@ DEFAULTS
• |[t|, |]t|, |[T|, |]T|, |[CTRL-T|, |]CTRL-T| navigate through the |tag-matchlist|
• |[a|, |]a|, |[A|, |]A| navigate through the |argument-list|
• |[b|, |]b|, |[B|, |]B| navigate through the |buffer-list|
+ • |[<Space>|, |]<Space>| add an empty line above and below the cursor
• Snippet:
• `<Tab>` in Insert and Select mode maps to `vim.snippet.jump({ direction = 1 })`
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 10816ec358..8fa94a2601 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -163,6 +163,7 @@ of these in your config by simply removing the mapping, e.g. ":unmap Y".
- |[t|, |]t|, |[T|, |]T|, |[CTRL-T|, |]CTRL-T|
- |[a|, |]a|, |[A|, |]A|
- |[b|, |]b|, |[B|, |]B|
+- |[<Space>|, |]<Space>|
- Nvim LSP client defaults |lsp-defaults|
- K |K-lsp-default|