Created
January 18, 2012 17:24
-
-
Save hydra35/1634253 to your computer and use it in GitHub Desktop.
vimrc for C programming
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set autoindent | |
set smartindent | |
set cindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set cinoptions=(0,:0,l1,t0 | |
filetype plugin indent on | |
au FileType make setlocal noexpandtab | |
au BufRead,BufNewFile *.am setlocal noexpandtab | |
match ErrorMsg /\s\+$\| \+\ze\t/ | |
syntax on | |
filetype on | |
nnoremap <silent> <F4> :TlistToggle<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment