diff --git a/plugin/pythonhelper.vim b/plugin/pythonhelper.vim index 602b98a..d5d3337 100644 --- a/plugin/pythonhelper.vim +++ b/plugin/pythonhelper.vim @@ -1,7 +1,7 @@ " File: pythonhelper.vim " Author: Michal Vitecek -" Version: 0.82 -" Last Modified: Jul 10, 2009 +" Version: 0.83 +" Last Modified: Jan 4, 2010 " " Overview " -------- @@ -18,12 +18,6 @@ " support by issuing command :ver and looking for +python in the list of " features. " -" Note: The script displays current tag on the status line only in NORMAL -" mode. This is because CursorHold event is fired up only in this mode. -" However if you badly need to know what tag you are in even in INSERT or -" VISUAL mode, contact me on the above specified email address and I'll send -" you a patch that enables firing up CursorHold event in those modes as well. -" " Installation " ------------ " 1. Make sure your Vim has python feature on (+python). If not, you will need @@ -744,6 +738,7 @@ endfunction " autocommands binding autocmd CursorHold * call PHCursorHold() +autocmd CursorHoldI * call PHCursorHold() autocmd BufDelete * silent call PHBufferDelete() " time that determines after how long time of no activity the CursorHold event