Over the syntax file included in Vim 6.1. There is also a handy syntax plugin called syntax featuring some improvements Handy plugin called indent, which handles indentation settings for Python If you also use Vim for other languages, there is a With these settings, newlines are inserted after 79 characters and indentation Set textwidth = 79 " lines longer than 79 columns will be broken set shiftwidth = 4 " operation > indents 4 columns << unindents 4 columns set tabstop = 4 " a hard TAB displays as 4 columns set expandtab " insert spaces when hitting TABs set softtabstop = 4 " insert/delete 4 spaces when hitting a TAB/BACKSPACE set shiftround " round indent to multiple of 'shiftwidth' set autoindent " align the new line indent with the previous line
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |