-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
43 lines (33 loc) · 944 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
set expandtab
set softtabstop=4
set shiftwidth=4
set cino=g0:0N-s
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
set rtp+=~/.fzf
set exrc
set t_Co=256
set number
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=DarkGray
colorscheme badwolf
set directory=$HOME/.vim/tmp/
set hlsearch
set nowrap
set noshowmode
set laststatus=2
set term=xterm-256color
map <F8> :!ctags -R --sort=yes --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
map <C-\> :%s/\s\+$//e<CR>
set listchars=trail:·,eol:¬,nbsp:_
set list
map <S-z> <C-w><C-w>
execute pathogen#infect()
call pathogen#helptags()
map <TAB> :NERDTreeToggle<CR>
map <S-TAB> :Tagbar<CR>
map <C-g> :Gblame<CR>
map <S-f> :Files<CR>
map <S-g> :GFiles<CR>