Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for vimconfig/vim/ftplugin/tex.vim between version 1.5 and 1.6

version 1.5, 2002/01/19 03:57:54 version 1.6, 2002/02/02 04:35:41
Line 211  if !exists("no_plugin_maps") && !exists(
Line 211  if !exists("no_plugin_maps") && !exists(
         imap <buffer> +Y \v{Y}          imap <buffer> +Y \v{Y}
         imap <buffer> =Z \'{Z}          imap <buffer> =Z \'{Z}
         imap <buffer> +Z \v{Z}          imap <buffer> +Z \v{Z}
   
           " Map <BS> to delete "\'{a}" as one character.
           " To avoid complications (start of line, end of line, etc.) the
           " mapping inserts a character, the function deletes all but two
           " characters, and the mapping deletes the last two.
           inoremap <buffer> <BS> x<Esc>:call <SID>SmartBS('\(\\.{\S}\)')<CR>a<BS><BS>
   
 endif  endif
 " }}} end mappings  " }}} end mappings
   
   " This function comes from Benji Fisher <benji@e-math.AMS.org>
   " http://vim.sourceforge.net/scripts/download.php?src_id=409
   fun! s:SmartBS(pat, ...)
     let init = strpart(getline("."), 0, col(".")-1)
     let len = strlen(matchstr(init, a:pat . "$")) - 1
     if len > 0
       execute "normal!" . len . "X"
     endif
   endfun
   
   
 " Modeline {{{  " Modeline {{{
 " vim:set ts=4:  " vim:set ts=4:
 " vim600:fdm=marker fdl=0 fdc=3 vb t_vb=:  " vim600:fdm=marker fdl=0 fdc=3 vb t_vb=:

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top