-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintegration.vim
More file actions
38 lines (38 loc) · 1.36 KB
/
Copy pathintegration.vim
File metadata and controls
38 lines (38 loc) · 1.36 KB
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
"========================================}{
" syntax check
Plugin 'scrooloose/syntastic'
" avoid close quickfix/location-list on error on <CR>
" for other plugins, E.g. ag.vim
" use :Errors to open syntastic error list
nnoremap <Leader>sc :SyntasticCheck<CR>
let g:syntastic_auto_loc_list = 0
let g:syntastic_mode_map = {
\ "mode": "active",
\ "active_filetypes": [],
\ "passive_filetypes": ["php"] }
"========================================}{
" iterm2 and tmux Ding
Plugin 'sjl/vitality.vim'
"========================================}{
" git
" U for revert file from git, undocumented
Plugin 'tpope/vim-fugitive'
Plugin 'airblade/vim-gitgutter'
"========================================}{
Plugin 'Shougo/vimproc.vim'
map <Leader>vp :exec "VimProcBang " . input("Command: ")<CR>
map <Leader>vl :exec "VimProcRead" . input("Command: ")<CR>
"========================================}{
Plugin 'Shougo/vimshell.vim'
"========================================}{
Plugin 'rking/ag.vim'
"let g:agprg="ag --nogroup --column"
let g:ag_highlight=1
" use Ag! for quickfix instead of LAg! for location-list
" to avoid change Nerdtree windows
"nnoremap <Leader>ag :Ag!
"========================================}{
Plugin 'b4b4r07/vim-pt'
"let g:pt_args = "pt --nogroup --smart-case --home-ptignore"
nnoremap <Leader>ag :Pt!
"========================================}{