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.9 and 1.10

version 1.9, 2002/02/17 03:24:58 version 1.10, 2002/02/18 19:51:07
Line 220  if !exists("no_plugin_maps") && !exists(
Line 220  if !exists("no_plugin_maps") && !exists(
 endif  endif
 " }}} end mappings  " }}} end mappings
   
   let g:smartBS_tex = '\(' .
                           \ "\\\\[\"^'=v]{\\S}"      . '\|' .
                           \ "\\\\[\"^'=]\\S"         . '\|' .
                           \ '\\v \S'                 . '\|' .
                           \ "\\\\[\"^'=v]{\\\\[iI]}" . '\|' .
                           \ '\\v \\[iI]'             . '\|' .
                           \ '\\q \S'                 . '\|' .
                           \ '\\-'                    .
                           \ '\)' . "$"
   
 " This function comes from Benji Fisher <benji@e-math.AMS.org>  " This function comes from Benji Fisher <benji@e-math.AMS.org>
 " http://vim.sourceforge.net/scripts/download.php?src_id=409  " http://vim.sourceforge.net/scripts/download.php?src_id=409
   " (modified)
 fun! s:SmartBS()  fun! s:SmartBS()
   let init = strpart(getline("."), 0, col(".")-1)    let init = strpart(getline("."), 0, col(".")-1)
   let len = strlen(matchstr(init, '\(' .    let len = strlen(matchstr(init, g:smartBS_tex)) - 1
                                 \ '\\[^\"]{\S}'     . '\|' .  
                                 \ '\\[^\"]{\\[iI]}' . '\|' .  
                                 \ '\\q \S'      . '\|' .  
                                 \ '\\[^\"]\S'  . '\|' .  
                                 \ '\\-'  . '\|' .  
                                 \ '\\v \S'      .  
                                 \ '\)' . "$")) - 1  
   if len > 0    if len > 0
     execute "normal!" . len . "X"      execute "normal!" . len . "X"
   endif    endif

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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