diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2022-05-22 21:20:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-22 21:20:18 -0600 |
commit | 9e1ee9fb1d747facb6fa97a32dc5e22c7dfcb346 (patch) | |
tree | b6fe628698f9d4181285a144b17b7518833693ce /runtime/doc/vim_diff.txt | |
parent | a7e0a02031c7b4a192cb9c0e4eb13a714d5b0dbb (diff) | |
download | rneovim-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/vim_diff.txt')
-rw-r--r-- | runtime/doc/vim_diff.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index c926337b47..85b44e3b51 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -543,6 +543,13 @@ Options: *'imactivatefunc'* *'imaf'* *'imactivatekey'* *'imak'* *'imstatusfunc'* *'imsf'* + *'insertmode'* *'im'* Use the following script to emulate 'insertmode': +> + autocmd VimEnter,CmdlineLeave,WinEnter,WinScrolled,BufEnter * silent! if &modifiable | startinsert | endif + inoremap <Esc> <Nop> + inoremap <C-L> <Esc> + nnoremap <Esc> i +< *'macatsui'* 'maxmem' Nvim delegates memory-management to the OS. 'maxmemtot' Nvim delegates memory-management to the OS. |