forked from GunioRobot/dotfiles-9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
51 lines (40 loc) · 965 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
48
49
50
51
filetype off
call pathogen#runtime_append_all_bundles()
filetype plugin indent on
set nocompatible
set viminfo^=!
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchBufs = 1
let g:miniBufExplModSelTarget = 1
map <silent> <m-p> :cp <cr>
map <silent> <m-n> :cn <cr>
syntax enable
syntax on
set cf
set clipboard+=unnamed
set hidden
set number
set vb t_vb=
set ts=2 sts=2 sw=2 expandtab
set history=1000
set autowrite
set ruler
set nu
set nowrap
set timeoutlen=250
if has("autocmd")
autocmd bufwritepost .vimrc source $MYVIMRC
endif
set background=dark
colorscheme solarized
let mapleader = ","
nmap <leader>v :tabedit $MYVIMRC<CR>
map <leader>ew :e <C-R>=expand("%:p:h") . "/" <CR>
map <leader>es :sp <C-R>=expand("%:p:h") . "/" <CR>
map <leader>ev :vsp <C-R>=expand("%:p:h") . "/" <CR>
map <leader>et :tabe <C-R>=expand("%:p:h") . "/" <CR>
nmap <D-[> <<
nmap <D-]> >>
vmap <D-[> <gv
vmap <D-]> >gv