forked from gibraltar/vimrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
78 lines (68 loc) · 1.77 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
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 BufRead,BufNewFile *.jade set syntax=jade
au BufRead,BufNewFile *.conf set syntax=nginx
au BufRead,BufNewFile *.pro set syntax=nginx
au BufRead,BufNewFile *.ca set syntax=nginx
au BufRead,BufNewFile *.com set syntax=nginx
autocmd BufRead,BufNewFile /etc/nginx/sites-*/* setfiletype nginx
set backspace=eol,start,indent
syntax enable
filetype plugin indent on
map <F2> :w<CR>
map <F3> :wq<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>
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>
inoremap <Nul> <C-n>
let g:loaded_matchparen=1
if $COLORTERM == 'gnome-terminal'
set term=gnome-256color
colorscheme default
endif
colorscheme jellybeans