Skip to content

vim

  • set ignorecase - Do search case insensitive
  • set smartcase - Do search case sensitive if searchstring contains uppercase letters
  • set hlsearch - Higlight matches

  • / - search forwards

  • ? - search backwards
  • :n - next match
  • :N - previews match

Get Filename and number of lines

  • ctrl+g

Switch between splited windows

  • ctrl+w+\<arrow-key>

Last update: May 2, 2020

Comments