]> code.delx.au - dotfiles/commitdiff
vim: indent using < and > goes to tabstops instead of +- 4spaces (using expandtabs)
authorJames Bunton <jamesbunton@delx.net.au>
Mon, 3 Sep 2012 07:09:27 +0000 (17:09 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Mon, 3 Sep 2012 07:09:27 +0000 (17:09 +1000)
.vim/indent.vim

index d8976ba8ff4eba8cccbe2a0f7fe3c25f60289d7a..cb77ad8c7f46f76433414637b4b5461dcfa0c753 100644 (file)
@@ -12,6 +12,9 @@ set tabstop=4
 set softtabstop=4
 set shiftwidth=4
 
+" < and > will hit indentation levels instead of adding/subtracting shiftwidth
+set shiftround
+
 " Use :retab to change the file to entirely space indents
 " Use :retab! to change the file to entirely tab indents