oplaTech About Teaching Archive
Oplatek's external memory

Set always tabsize and shift width in Vim together

Lessons learned: Shift width(sw)and tabulator size (ts) are two different variables in Vim.
Shift width is used for shifting blogs via < and > keys.
Tabulator size is used when you press Tab in insert mode.
Two different things, but really useful to have them set up with the same value. In order to used them interchangeably.
So put following in ~/.vimrc:

set sw=4
set ts=4