" Set filetype stuff to on.
filetype on
filetype plugin on
+
+" Set up autoindentation.
+set smartindent
filetype indent on
" Example filetype-specific setting:
" 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
noremap <Right> ""
noremap! <Right> <Esc>
-" Map open and close items in insert mode.
-" Keep this commented out until I can get it working better.
-"inoremap { {<CR>}<Esc>O
-"inoremap [ []<Esc>i
-"inoremap ( ()<Esc>i
-"inoremap } <Esc>/}<CR>o
-"inoremap ] <Esc>/]<CR>a
-"inoremap ) <Esc>/)<CR>a
-
" Automatically reload the .vimrc when changes are made to it
au! BufWritePost .vimrc source %