-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
47 lines (38 loc) · 997 Bytes
/
.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
filetype plugin indent on
syntax on
" Keybindings
map <F2> :GundoToggle<CR>
map <F3> :TagbarToggle<CR>
map <F4> :NERDTreeToggle<CR>
"map <F4> :Clam tools/commitdiff<CR><c-w>w:q<CR>:set syntax=diff<CR>
map <F9> :set tw=80<CR>
map <F10> :set tw=0<CR>
map :in vip gq
set hlsearch
set incsearch
set number
set expandtab
set tabstop=4
set softtabstop=4
set shiftwidth=4
set laststatus=2 " always show the status bar
set ruler
set foldmethod=syntax "fold based on syntax
"set foldnestmax=10 "deepest fold is 10 levels
"set foldlevel=4
"set foldcolumn=4
"remember to not go past 80 chars
if exists('+colorcolumn')
set colorcolumn=80
else
match ErrorMsg '\%>80v.\+'
endif
" highlight trailing spaces
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/"
set wildmenu "wildmenu does command completion
set wildmode=list:longest,full
set ttymouse=xterm2 "mouse settings
set mouse=a
execute pathogen#infect()
execute pathogen#helptags()