Manchmal möchte man mehrere Zeilen gleichzeitig einrücken

  • Ctrl + v column mode edit command
  • Select the columns, rows (h,j,k,l)
  • Shift + i to go into insert mode in column mode
  • Type in desired text. At the time of typing only ONE row is changed, showed
  • Press the Esc key to apply the changes...

Continue reading...

After openening vim

:set mouse-=a

In vimrc file

 set mouse-=a 

Continue reading...

Markiere Whitespace am Ende der Zeile

Folgendes zur ~/.vimrc hinzufügen

    highlight ExtraWhitespace ctermbg=red guibg=red
    match ExtraWhitespace /\s\+$/
    autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
    autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@

Danach erscheinen...

Continue reading...