-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
38 lines (31 loc) · 877 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
syn on
set guifont=Bitstream\ Vera\ Sans\ Mono\ 10
set nowrap
"" tabs setup (kernel etc.)
set ts=8
"" soft-tabs set-up (python et al.)
set ts=4
set et
set sw=4
"" Shift-Return is Escape, so VIM can be used on my Pixel C :)
inoremap <S-CR> <Esc>
set nu
set hlsearch
set incsearch
set autoindent
set smartindent
set cindent
set cursorline
set bg=dark
colorscheme elflord
set textwidth=79
set colorcolumn=+1
filetype plugin on
autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType c set omnifunc=ccomplete#Complete
runtime! ftplugin/man.vim