Skip to content

Commit

Permalink
small comment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
spf13 committed Apr 21, 2010
1 parent 28185e3 commit 2bedd5c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions ftplugin/php.vim
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
" .vim/ftplugin/php.vim by Tobias Schlitt <toby@php.net>.
" No copyright, feel free to use this, as you like.
"
" Revised 2010 Steve Francia <http://spf13.com>
" Brought up to date. Removed eZcomponents specific items.
"

" Including PDV
" source ~/.vim/plugins/php-doc.vim

let PHP_autoformatcomment = 1

Expand Down Expand Up @@ -50,10 +51,6 @@ setlocal keywordprg=pman
" Map ; to "add ; to the end of the line, when missing"
noremap <buffer> ; :s/\([^;]\)$/\1;/<cr>
" DEPRECATED in favor of PDV documentation (see below!)
" Map <CTRL>-P to run actual file with PHP CLI
" noremap <C-P> :w!<CR>:!php5 %<CR>

" Map <ctrl>+p to single line mode documentation (in insert and command mode)
inoremap <buffer> <C-P> :call PhpDocSingle()<CR>i
nnoremap <buffer> <C-P> :call PhpDocSingle()<CR>
Expand All @@ -68,7 +65,7 @@ vnoremap <buffer> <C-a> :call PhpAlign()<CR>
" Map <CTRL>-c to (un-)comment function
"vnoremap <buffer> <C-c> :call PhpUnComment()<CR>
" Use NERDCommenter, it's much better
" SPF13: Use NERDCommenter, it's much better

" }}}

Expand All @@ -85,7 +82,7 @@ inoremap <buffer> [ []<LEFT>
" inoremap <buffer> ( ( )<LEFT><LEFT>

" Maybe this way in other coding standards
inoremap ( ( )<LEFT><LEFT>
inoremap ( ()<LEFT><LEFT>
inoremap <buffer> " ""<LEFT>
inoremap <buffer> ' ''<LEFT>
Expand Down

0 comments on commit 2bedd5c

Please sign in to comment.