Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv27527
Modified Files:
main.vim
Log Message:
Second attempt at modifying s:TexQuotes(). The renaining problem was not
with IMAP_Jumpfunc() but with the interaction of the :imap that calls
s:TexQuotes() with the various functions that get called. This hack is not
too bad, and it seems to work.
Index: main.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** main.vim 22 Dec 2002 14:12:02 -0000 1.18
--- main.vim 22 Dec 2002 14:38:10 -0000 1.19
***************
*** 4,8 ****
" Email: sr...@fa...
" URL:
! " Last Change: Sun Dec 22 08:00 AM 2002 EST
"
" Help:
--- 4,8 ----
" Email: sr...@fa...
" URL:
! " Last Change: Sun Dec 22 09:00 AM 2002 EST
"
" Help:
***************
*** 273,277 ****
" Return to line l, column c:
execute restore_cursor
! return q
endfunction
--- 273,278 ----
" Return to line l, column c:
execute restore_cursor
! " Start with <Del> to remove the " put in by the :imap .
! return "\<Del>" . q
endfunction
***************
*** 466,470 ****
" smart functions
if g:Tex_SmartKeyQuote
! inoremap <buffer> <silent> " "<Left><C-R>=<SID>TexQuotes()<CR><Del>
endif
if g:Tex_SmartKeyBS
--- 467,471 ----
" smart functions
if g:Tex_SmartKeyQuote
! inoremap <buffer> <silent> " "<Left><C-R>=<SID>TexQuotes()<CR>
endif
if g:Tex_SmartKeyBS
|