-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
55 lines (44 loc) · 1 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
set nobackup
set nowritebackup
set noswapfile
set tabstop=4
set shiftwidth=4
set softtabstop=4
set autoindent
set smarttab
set expandtab
filetype indent on
filetype on
filetype plugin on
set exrc
set secure
set colorcolumn=110
highlight ColorColumn ctermbg=darkgray
set tags=./tags;
augroup project
autocmd!
autocmd BufRead,BufNewFile *.h,*.c set filetype=c.doxygen
augroup END
let &path.="/usr/include/c++/4.6/,/usr/include/"
" set background=light
colorscheme default
set guioptions=aegimt
set guifont=Monaco\ 10
" Tagbar shortcut
nmap <F8> :TagbarToggle<CR>
nnoremap <F2> :NERDTreeToggle<CR>
" CTags rebuild
noremap <F12> :!ctags -R --exclude='.git' .<CR>
set nocompatible
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'majutsushi/tagbar'
Plugin 'scrooloose/nerdtree'
Plugin 'scrooloose/syntastic'
Plugin 'fatih/vim-go'
call vundle#end()
filetype plugin indent on