ad27ba030793b89114a803eaf074d2a9d9dd9600
Author: AD7six
Date: 2010-01-29 17:12:28 +0100
diff --git a/vendors/vim/plugins/cakephp.vim b/vendors/vim/plugins/cakephp.vim
index b1712cb..74f5f35 100644
--- a/vendors/vim/plugins/cakephp.vim
+++ b/vendors/vim/plugins/cakephp.vim
@@ -179,7 +179,7 @@ function s:BufferWritePost()
endif
" :call DocTags(expand("%:p")) "disabled it's too slow
endif
- :silent exe '!echo "' . strftime('%F %T') . ' ' . substitute(b:Root, '.*/', '', 'g') . ' ' . substitute(expand("%"), b:Root, '', 'g') . ' ' . '" >> ~/vimActivity.' . strftime('%y%m%d') . '.log'
+ :silent exe '!echo "' . strftime('%F %T') . ' ' . 'write' . ' ' . substitute(b:Root, '.*/', '', 'g') . ' ' . substitute(expand("%"), b:Root, '', 'g') . ' ' . '" >> ~/vimActivity.' . strftime('%y%m%d') . '.log'
endfunction
" Function: SetupBuffer()
@@ -224,6 +224,7 @@ function s:SetupBuffer()
call s:SetupMenu()
norm! zx
let b:CakeBufferSetup=1
+ :silent exe '!echo "' . strftime('%F %T') . ' ' . 'open ' . ' ' . substitute(b:Root, '.*/', '', 'g') . ' ' . substitute(expand("%"), b:Root, '', 'g') . ' ' . '" >> ~/vimActivity.' . strftime('%y%m%d') . '.log'
endfunction
" Section: Public functions
