A small update to (Python)
This commit is contained in:
parent
4b45bb33c2
commit
ad875b0e0a
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ au FileType python map <buffer> F :set foldmethod=indent<cr>
|
|||
au FileType python inoremap <buffer> $r return
|
||||
au FileType python inoremap <buffer> $i import
|
||||
au FileType python inoremap <buffer> $p print
|
||||
au FileType python inoremap <buffer> $f #--- PH ----------------------------------------------<esc>FP2xi
|
||||
au FileType python inoremap <buffer> $f #--- <esc>a
|
||||
au FileType python map <buffer> <leader>1 /class
|
||||
au FileType python map <buffer> <leader>2 /def
|
||||
au FileType python map <buffer> <leader>C ?class
|
||||
|
@ -30,7 +30,7 @@ au FileType javascript imap <c-t> $log();<esc>hi
|
|||
au FileType javascript imap <c-a> alert();<esc>hi
|
||||
|
||||
au FileType javascript inoremap <buffer> $r return
|
||||
au FileType javascript inoremap <buffer> $f //--- PH ----------------------------------------------<esc>FP2xi
|
||||
au FileType javascript inoremap <buffer> $f //--- PH<esc>FP2xi
|
||||
|
||||
function! JavaScriptFold()
|
||||
setl foldmethod=syntax
|
||||
|
|
Loading…
Reference in a new issue