Created
September 10, 2013 04:39
-
-
Save noomz/6505056 to your computer and use it in GitHub Desktop.
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
set shiftwidth=2 | |
set tabstop=2 | |
set expandtab | |
set nu | |
set ai | |
set smartindent | |
map! <F2> <C-x><C-p> | |
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 FileType python set tabstop=4|set shiftwidth=4|set expandtab | |
autocmd FileType php set tabstop=2|set shiftwidth=2|set expandtab | |
augroup END | |
endif | |
syntax on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment