-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimrc
84 lines (70 loc) · 2.08 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
autocmd!
call pathogen#infect()
set backspace=indent,start,eol
set exrc
set autoindent
set noautowrite
set nobackup
set writebackup
set sidescroll=1
set shiftwidth=2
set updatecount=0
set taglength=0
set tags+=../tags,/usr/local/include/tags,/usr/include/tags
set wrapscan
set shell=$SHELL\ -f
set ruler
set report=1
set tabstop=2
set expandtab
set noicon
set noshowmode
set wildmode=longest,list,full
set showmatch
set helpheight=100
set guioptions=ail
set guicursor=a:block-blinkoff0
set hlsearch
set nostartofline
set background=light
set highlight=l:MySearch
set clipboard=autoselect
set visualbell t_vb=
set viminfo=
set history=500
set laststatus=0
au BufNewFile,BufRead *.twig set syntax=jinjahtml
au BufNewFile,BufRead *.css set syntax=distinguished-modified
au BufNewFile,BufRead *.js set syntax=twilight256
set backspace=eol,start,indent
syntax enable
filetype plugin indent on
map <F2> :w<CR>
map <F3> :wq<CR>
autocmd! bufwritepre *.js :JSHint<CR>
inoremap <expr> <C-Space> pumvisible() \|\| &omnifunc == '' ?
\ "\<lt>C-n>" :
\ "\<lt>C-x>\<lt>C-o><c-r>=pumvisible() ?" .
\ "\"\\<lt>c-n>\\<lt>c-p>\\<lt>c-n>\" :" .
\ "\" \\<lt>bs>\\<lt>C-n>\"\<CR>"
imap <C-@> <C-Space>
map <F4> agr.l('ao', '');<left><left><left>
map <F5> afor (var i = 0; i < .length; i++)<CR>
\{<CR>
\}<up><up><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right><right>
set backspace=eol,start,indent
syntax enable
au BufRead,BufNewFile *.twig set syntax=jinja
au BufRead,BufNewFile *.jade set syntax=jade
autocmd BufRead *.cql set syntax=cql
map <F2> :w<CR>
map <F3> :wq<CR>
map <F5> :!~/Documents/fannco.symfony/app/console assetic:dump<CR>:!~/Documents/fannco.symfony/app/console assets:install ~/Documents/fannco.symfony/web<CR>
map <F6> :!~/Documents/fannco.symfony/vendor/phpunit/phpunit/phpunit --tap -c ~/Documents/fannco.symfony/app<CR>
inoremap <Nul> <C-n>
let g:loaded_matchparen=1
if $COLORTERM == 'gnome-terminal'
set term=gnome-256color
colorscheme default
endif
colorscheme jellybeans