-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
40 lines (33 loc) · 1.3 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
set nocompatible "dont want to be compatible with vi
set runtimepath=~/.vim,~/.vim/syntax,~/.vim/autoload
""runtime! /home/montes/.vim/autoload/*.vim
source ~/.vim/autoload/colorizer.vim
source ~/.vim/autoload/javascriptcomplete.vim
source ~/.vim/autoload/phpcs.vim
source ~/.vim/autoload/php-doc.vim "PHPDocumentor
source ~/.vim/checksyntax-plugin.vim
source ~/.vim/autoload/checksyntax.vim "Checks syntax while saving document (PHP, c, cpp...)
source ~/.vim/autoload/phpcomplete.vim "PHP Autocomplete (CTRL+X CTRL+O)
set formatoptions+=or "Para el autoindent de los comentarios de PHP de varias lineas /**
set fileencodings=utf-8
set tabstop=4
set softtabstop=4
set expandtab
set autoindent
set hidden "optimizes buffers
set history=1000 "remind 1000 last commands
set wildmenu "shows all posibilities when pressing TAB in command mode
set wildmode=list:longest "show that posibilities longest possible
set ruler "show position at bottom
set backspace=indent,eol,start
set nu "line numbering
set antialias
syntax on
filetype plugin on
filetype indent on
autocmd FileType php set omnifunc=phpcomplete#CompletePHP "PHP Autocomplete
set ofu=syntaxcomplete#Complete
let php_sql_query=1
let php_htmlInStrings=1
colorscheme delek
let g:colorizer_filetype = 'css,html' "converts #AAA or #a1a1a1 to equivalent color (plugin)