Skip to content

Commit

Permalink
fix curly braces autoinsert. add php function list file
Browse files Browse the repository at this point in the history
  • Loading branch information
gmas committed Dec 2, 2011
1 parent 968b8a3 commit 7f21626
Show file tree
Hide file tree
Showing 2 changed files with 3,135 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vim/ftplugin/php.vim
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ vnoremap <buffer> <C-c> :call PhpUnComment()<CR>
" More common in PEAR coding standard
" inoremap <buffer> { {<CR>}<C-O>O
" Maybe this way in other coding standards
inoremap <buffer> { {<CR>}<C-O>O
inoremap <buffer> { { }<LEFT><LEFT>
inoremap <buffer> [ []<LEFT>
Expand Down Expand Up @@ -110,7 +110,7 @@ inoremap <buffer> ' ''<LEFT>

" The completion dictionary is provided by Rasmus:
" http://lerdorf.com/funclist.txt
setlocal dictionary-=/home/dotxp/funclist.txt dictionary+=/home/dotxp/funclist.txt
setlocal dictionary-=~/Documents/dotfiles/php_funclist.txt dictionary+=~/Documents/dotfiles/php_funclist.txt
" Use the dictionary completion
setlocal complete-=k complete+=k

Expand Down
Loading

0 comments on commit 7f21626

Please sign in to comment.