Last active
December 26, 2015 14:09
-
-
Save jackbravo/7163461 to your computer and use it in GitHub Desktop.
My .vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set background=dark | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set autoindent | |
set smartindent | |
set hidden | |
if has("autocmd") | |
" Drupal *.module and *.install files. | |
augroup module | |
autocmd BufRead,BufNewFile *.module set filetype=php | |
autocmd BufRead,BufNewFile *.install set filetype=php | |
autocmd BufRead,BufNewFile *.test set filetype=php | |
autocmd BufRead,BufNewFile *.inc set filetype=php | |
autocmd BufRead,BufNewFile *.profile set filetype=php | |
autocmd BufRead,BufNewFile *.view set filetype=php | |
augroup END | |
endif | |
filetype plugin indent on | |
set omnifunc=syntaxcomplete#Complete | |
let mapleader="¿" " map <leader> key for latin keyboards | |
let php_sql_query=1 | |
let php_htmlInStrings=1 | |
set colorcolumn=80 | |
if version >= 703 | |
set undofile | |
set undodir=$HOME/.vim/undo | |
set undolevels=1000 | |
set undoreload=10000 | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment