[Vim-latex-cvs] vimfiles/plugin imaps.vim,1.9.2.5,1.9.2.6
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2002-12-19 12:14:03
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv12787 Modified Files: Tag: b-newimaps imaps.vim Log Message: . provide defaults for g:Imap_StickyPlaceHolders and g:Imap_DeleteEmptyPlaceHolders. . remove the RestoreEncoding function. Hopefully, in the near future we will be able to get away with iconv and the fact that the scripts themselves do not contain funkiness. Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.9.2.5 retrieving revision 1.9.2.6 diff -C2 -d -r1.9.2.5 -r1.9.2.6 *** imaps.vim 19 Dec 2002 11:44:55 -0000 1.9.2.5 --- imaps.vim 19 Dec 2002 12:13:59 -0000 1.9.2.6 *************** *** 8,12 **** " while preserving filetype indentation. " ! " Last Change: Thu Dec 19 03:00 AM 2002 PST " " Documentation: {{{ --- 8,12 ---- " while preserving filetype indentation. " ! " Last Change: Thu Dec 19 04:00 AM 2002 PST " " Documentation: {{{ *************** *** 97,103 **** " ============================================================================== ! " Script variables ! " ============================================================================== ! " {{{ " s:LHS_{ft}_{char} will be generated automatically. It will look like " s:LHS_tex_o = 'fo\|foo\|boo' and contain all mapped sequences ending in "o". --- 97,111 ---- " ============================================================================== ! " Script Options / Variables ! " ============================================================================== ! " Options {{{ ! if !exists('g:Imap_StickyPlaceHolders') ! let g:Imap_StickyPlaceHolders = 1 ! endif ! if !exists('g:Imap_DeleteEmptyPlaceHolders') ! let g:Imap_DeleteEmptyPlaceHolders = 1 ! endif ! " }}} ! " Variables {{{ " s:LHS_{ft}_{char} will be generated automatically. It will look like " s:LHS_tex_o = 'fo\|foo\|boo' and contain all mapped sequences ending in "o". *************** *** 302,307 **** function! IMAP_Jumpfunc(direction, inclusive) - let g:Imap_DeleteEmptyPlaceHolders = 0 - " The user's placeholder settings. let phsUser = s:PlaceHolderStart() --- 310,313 ---- *************** *** 382,393 **** end " }}} - " RestoreEncoding: restores file encoding to what it was originally {{{ - " Description: - function! RestoreEncoding() - if s:oldenc != 'latin1' - let &g:encoding = s:oldenc - endif - return '' - endfunction " }}} nmap <silent> <script> <plug><+SelectRegion+> `<v`> --- 388,391 ---- |