Created
July 31, 2015 02:26
-
-
Save outman/52a5dfab3047735deed5 to your computer and use it in GitHub Desktop.
my_vim_config.vim
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 nu | |
set mouse=v | |
let g:NERDTreeWinPos="left" | |
let g:NERDTreeWinSize=26 | |
"""""""""""""""""""""""""""""""""" | |
" => PHP section | |
"""""""""""""""""""""""""""""""""" | |
au FileType php inoremap $t $t | |
au FileType php inoremap $e $e | |
au FileType php inoremap $q $q | |
au FileType php inoremap $6 ""<esc>i | |
au FileType php inoremap $5 ''<esc>i | |
au FileType php inoremap $7 <?php ?><esc>2hi | |
au FileType php inoremap $9 <?= ?><esc>2hi | |
au FileType php inoremap $8 <esc>la | |
au FileType javascript call MyJavaScriptFold() | |
function! MyJavaScriptFold() | |
setl nofoldenable | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment