-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
60 lines (50 loc) · 1.24 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
56
57
58
59
60
execute pathogen#infect()
let g:Powerline_symbols = 'fancy'
set t_Co=256
syntax on
hi Comment ctermfg=DarkGreen guifg=Green
set background=dark
" solarized options
let g:solarized_termcolors = 256
"let g:solarized_termtrans = 1
let g:solarized_visibility = "high"
let g:solarized_contrast = "high"
colorscheme solarized
"colorscheme zenburn
"colorscheme wombat256
set hlsearch
set encoding=utf-8
set ts=2
set tabstop=2
set ai
set nu
set hls
set sw=2
set et
set showmatch
set shiftwidth=2
"set noexpandtab
set expandtab
set splitbelow
set splitright
" Show tab characters. Visual Whitespace.
"set list
"set listchars=tab:>.
filetype plugin indent on
" clojure
au BufRead,BufNewFile *.clj set filetype=clojure
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Cope
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Do :help cope if you are unsure what cope is. It's super useful!
map <leader>cc :botright cope<cr>
map <leader>n :cn<cr>
map <leader>p :cp<cr>
""""""""""""""""""""""""""""""
" => Vim grep
""""""""""""""""""""""""""""""
let Grep_Skip_Dirs = 'RCS CVS SCCS .svn generated'
set grepprg=/bin/grep\ -nH
if $TERM == "xterm-256color" || $TERM == "screen-256color" || $COLORTERM == "gnome-terminal"
set t_Co=256
endif