Home Explore Blog CI



neovim

12th chunk of `runtime/doc/vim_diff.txt`
f25429131fe073a2dcce4936f56481c6eb50d87f4ac979520000000100000802
  noremap <C-\><C-G> <C-\><C-N><Cmd>startinsert<CR>
    cnoremap <C-\><C-G> <C-\><C-N><Cmd>startinsert<CR>
    inoremap <C-\><C-G> <C-X><C-Z>
    autocmd CmdwinEnter * noremap <buffer> <C-C> <C-C>
    autocmd CmdwinEnter * inoremap <buffer> <C-C> <C-C>

    lua << EOF
      vim.on_key(function(c)
        if c == '\27' then
          local mode = vim.api.nvim_get_mode().mode
          if mode:find('^[nvV\22sS\19]') and vim.fn.getcmdtype() == '' then
            vim.schedule(function()
              vim.cmd('startinsert')
            end)
          end
        end
      end)
    EOF
- *'macatsui'*
- *'maxcombine'* *'mco'* : Nvim counts maximum character sizes in bytes, not
  codepoints. This is guaranteed to be big enough to always fit all chars
  properly displayed in vim with 'maxcombine' set to 6.
  - You can still edit text with larger characters than fits in the screen
    buffer, you just can't see them. Use |g8| or |ga|. See |mbyte-combining|.
  - NOTE: the rexexp engine still has a hard-coded limit of considering
    6 composing chars only.
- *'maxmem'* Nvim delegates memory-management to the OS.
- *'maxmemtot'* Nvim delegates memory-management to the OS.
- *'opendevice'* *'odev'* *'noopendevice'* *'noodev'*
- printoptions
- *'printdevice'*
- *'printencoding'*
- *'printexpr'*
- *'printfont'*
- *'printheader'*
- *'printmbcharset'*
- *'prompt'* *'noprompt'*
- *'remap'* *'noremap'*
- *'restorescreen'* *'rs'* *'norestorescreen'* *'nors'*
- *'secure'* : Everything is allowed in 'exrc' files, because they must be
  explicitly marked as "trusted".
- *'shelltype'*
- 'shortmess' flags: *shm-f* *shm-n* *shm-x* *shm-i* (behave like always on)
- *'shortname'* *'sn'* *'noshortname'* *'nosn'*
- *'swapsync'* *'sws'*
- *'termencoding'* *'tenc'* (Vim 7.4.852 also removed this for Windows)
- *'terse'* *'noterse'* (Add "s" to 'shortmess' instead)
- textauto
- textmode
- *'toolbar'* *'tb'*
- *'toolbariconsize'* *'tbis'*
- *'ttybuiltin'* *'tbi'* *'nottybuiltin'* *'notbi'*
- *'ttyfast'* *'tf'* *'nottyfast'* *'notf'*
- *'ttymouse'*

Title: Nvim Removed Options: Memory, Printing, Security, and Terminal
Summary
This section details removed Nvim options, continuing from the previous chunk. These include 'macatsui', 'maxcombine', 'maxmem', 'maxmemtot', 'opendevice', printing-related options, 'prompt', 'remap', 'restorescreen', 'secure', 'shelltype', certain 'shortmess' flags, 'shortname', 'swapsync', 'termencoding', 'terse', textauto, textmode, 'toolbar', 'toolbariconsize', 'ttybuiltin', 'ttyfast', and 'ttymouse'. The summary explains the rationale behind the removals, such as memory management being delegated to the OS, or features being replaced by other settings.