" Set filetype stuff to on.
filetype on
filetype plugin on
+
+" Set up autoindentation.
+set smartindent
filetype indent on
" Example filetype-specific setting:
" autocmd filetype python set expandtab
" endif
+" Allow folding.
+set foldenable
+set foldmethod=syntax
+set foldlevelstart=99
+
" Show line numbers.
set number
set numberwidth=4
" Turn off error bells and visual bell
set noeb vb t_vb=
-" Set up autoindentation.
-set smartindent
-filetype indent on
-
" Set tabs to width 4.
set softtabstop=4
set tabstop=4
autocmd FileType help,make match BadSpacing / *$/
augroup END
-" Highlight search terms.
-set hlsearch
-
" Search as you type.
set incsearch