Differences between version 17 and predecessor to the previous major change of VimNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 17 | Last edited on Tuesday, December 18, 2007 11:36:10 am | by BenStaz | Revert |
Older page: | version 16 | Last edited on Monday, October 22, 2007 6:34:06 pm | by BenStaz | Revert |
@@ -6,12 +6,12 @@
[BenStaz] finds these settings very useful when using vim for coding (any language).
<verbatim>
-set tabstop=4
" 4 places per tab character
-set shiftwidth=4
" indent/outdent by 4 places
+set tabstop=8
" 4 places per tab character
+set shiftwidth=8
" indent/outdent by 4 places
set expandtab " convert hardtabs to the equivalent number of blanks
-set softtabstop=4
" same value as 'tabstop' == no soft tabstops
+set softtabstop=8
" same value as 'tabstop' == no soft tabstops
set autoindent " indent of new lines as appropriate
</verbatim>
!! Syntax Highlighting