-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
81 lines (62 loc) · 1.6 KB
/
Copy path.vimrc
File metadata and controls
81 lines (62 loc) · 1.6 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
execute pathogen#infect()
syntax on
filetype plugin indent on
set tabstop=4
set shiftwidth=4
set expandtab
set t_Co=256
colorscheme xoria256
set linespace=15
set showmode
set nowrap
set smarttab
set tags=tags
set softtabstop=4
set expandtab
set copyindent
set number
set ignorecase
set smartcase
set visualbell
set noerrorbells
set autowrite
set mouse=a
imap jj <esc>
nmap <C-b> :NERDTreeToggle<cr>
" super quick phpunit testing
nmap ,t :! phpunit<cr>
nmap ,m :!phpunit %<cr>
function! PhpSyntaxOverride()
hi! def link phpDocTags phpDefine
hi! def link phpDocParam phpType
endfunction
augroup phpSyntaxOverride
autocmd!
autocmd FileType php call PhpSyntaxOverride()
augroup END
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manaage vundle
" required!
Bundle 'gmarik/vundle'
filetype plugin indent on " required!
Bundle 'scrooloose/nerdtree'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'Townk/vim-autoclose'
Bundle 'closetag.vim'
Bundle 'geoffharcourt/vim-matchit'
Bundle 'ctrlpvim/ctrlp.vim'
set backspace=2 " make backspace work like most other apps "
" Track the engine
Plugin 'SirVer/ultisnips'
" Snippets are separate from the engine, add this if you want them:
Plugin 'honza/vim-snippets'
" Trigger configuration.
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-j>"
let g:UltiSnipsJumpBackwardTrigger="<c-k>"
" If you want UltiliSnips Edit to split your window
let g:UltiSnipsEditSplit="vertical"
autocmd BufNewFile,BufRead *.blade.php setlocal ft=html