logo
indent
  • autoindent

    take indent for new line from previous line

  • cindent

    do C program indenting

  • cinkeys

    keys that trigger indent when 'cindent' is set

    0{,0},0),:,0#,!^F,o,O,e

  • cinoptions

    how to do indenting when 'cindent' is set

  • cinwords

    words where 'si' and 'cin' add an indent

    if,else,while,do,for,switch

  • copyindent

    make 'autoindent' use existing indent structure

  • preserveindent

    preserve the indent structure when reindenting

  • shiftwidth

    number of spaces to use for (auto)indent step

    8

  • shiftround

    round indent to multiple of shiftwidth

  • smartindent

    smart autoindenting for C programs

key
  • backspace

    how backspace works at start of line

  • esckeys

    recognize function keys in Insert mode

EOL
  • endofline

    write <EOL> for last line in file

vimrc
  • exrc

    read .vimrc and .exrc in the current directory

  • secure

    secure mode for reading .vimrc in current dir

search
  • hlsearch

    highlight matches with last search pattern

  • ignorecase

    ignore case in search patterns

  • incsearch

    highlight match while typing search pattern

  • smartcase

    no ignore case when pattern has uppercase

  • wrapscan

    searches wrap around the end of the file

edit mode
  • insertmode

    start the edit of a file in Insert mode

mouse
  • mouse

    enable the use of mouse clicks

  • mousefocus

    keyboard focus follows the mouse

  • mousehide

    hide mouse pointer while typing

  • mousemodel

    changes meaning of mouse buttons

    extend

  • mouseshape

    shape of the mouse pointer in different modes

    i:beam,r:beam,s:updown,sd:cross,m:no,ml:up-arrow,v:rightup-arrow

  • mousetime

    max time between mouse double-click

    500

spell check
  • spell

    enable spell checking