aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/intro.txt
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2022-05-22 21:20:18 -0600
committerGitHub <noreply@github.com>2022-05-22 21:20:18 -0600
commit9e1ee9fb1d747facb6fa97a32dc5e22c7dfcb346 (patch)
treeb6fe628698f9d4181285a144b17b7518833693ce /runtime/doc/intro.txt
parenta7e0a02031c7b4a192cb9c0e4eb13a714d5b0dbb (diff)
downloadrneovim-9e1ee9fb1d747facb6fa97a32dc5e22c7dfcb346.tar.gz
rneovim-9e1ee9fb1d747facb6fa97a32dc5e22c7dfcb346.tar.bz2
rneovim-9e1ee9fb1d747facb6fa97a32dc5e22c7dfcb346.zip
refactor!: delete insertmode (#18547)
Neovim already removed `evim` (or any similar flags). The 'insertmode' option is a weird remnant, so get rid of it. The 'insertmode' option is replaced with a script that closely emulates the option. This script is documented at :help 'insertmode'
Diffstat (limited to 'runtime/doc/intro.txt')
-rw-r--r--runtime/doc/intro.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt
index 4e3dcf850c..0074dc0733 100644
--- a/runtime/doc/intro.txt
+++ b/runtime/doc/intro.txt
@@ -424,8 +424,7 @@ Vim has seven BASIC modes:
*Normal* *Normal-mode* *command-mode*
Normal mode In Normal mode you can enter all the normal editor
commands. If you start the editor you are in this
- mode (unless you have set the 'insertmode' option,
- see below). This is also known as command mode.
+ mode. This is also known as command mode.
Visual mode This is like Normal mode, but the movement commands
extend a highlighted area. When a non-movement
@@ -551,8 +550,6 @@ Ex :vi -- -- -- -- --
*6 Go from Select mode to Insert mode by typing a printable character. The
selection is deleted and the character is inserted.
-If the 'insertmode' option is on, editing a file will start in Insert mode.
-
*CTRL-\_CTRL-N* *i_CTRL-\_CTRL-N* *c_CTRL-\_CTRL-N* *v_CTRL-\_CTRL-N*
Additionally the command CTRL-\ CTRL-N or <C-\><C-N> can be used to go to
Normal mode from any other mode. This can be used to make sure Vim is in
@@ -561,10 +558,7 @@ work in Ex mode. When used after a command that takes an argument, such as
|f| or |m|, the timeout set with 'ttimeoutlen' applies.
*CTRL-\_CTRL-G* *i_CTRL-\_CTRL-G* *c_CTRL-\_CTRL-G* *v_CTRL-\_CTRL-G*
-The command CTRL-\ CTRL-G or <C-\><C-G> can be used to go to Insert mode when
-'insertmode' is set. Otherwise it goes to Normal mode. This can be used to
-make sure Vim is in the mode indicated by 'insertmode', without knowing in
-what mode Vim currently is.
+CTRL-\ CTRL-G works the same as |CTRL-\_CTRL-N| for backward compatibility.
*gQ* *mode-Ex* *Ex-mode* *Ex* *EX* *E501*
gQ Switch to Ex mode. This is like typing ":" commands