HokieGeek / dotfiles

My linux config files
0 stars 0 forks source link

Learn more about shiftround #88

Closed HokieGeek closed 9 years ago

HokieGeek commented 9 years ago

http://vimdoc.sourceforge.net/htmldoc/options.html#'shiftround'

'shiftround' 'sr' boolean (default off) global {not in Vi} Round indent to multiple of 'shiftwidth'. Applies to > and < commands. CTRL-T and CTRL-D in Insert mode always round the indent to a multiple of 'shiftwidth' (this is Vi compatible). NOTE: This option is reset when 'compatible' is set.

HokieGeek commented 9 years ago

.... you're already using it: https://github.com/HokieGeek/dotfiles/blob/master/vimrc#L42

The problem is, you don't actually know how vim behaves without it!