Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026

Rozdiely pre vimconfig/vim/ftplugin/tex.vim medzi verziami 1.8 a 1.9

verzia 1.8, 2002/02/17 01:00:35 verzia 1.9, 2002/02/17 03:24:58
Riadok 215  if !exists("no_plugin_maps") && !exists(
Riadok 215  if !exists("no_plugin_maps") && !exists(
         " To avoid complications (start of line, end of line, etc.) the          " To avoid complications (start of line, end of line, etc.) the
         " mapping inserts a character, the function deletes all but two          " mapping inserts a character, the function deletes all but two
         " characters, and the mapping deletes the last two.          " characters, and the mapping deletes the last two.
         inoremap <buffer> <BS> x<Esc>:call <SID>SmartBS('\(\\.{\S}\)')<CR>a<BS><BS>          inoremap <buffer> <BS> x<Esc>:call <SID>SmartBS()<CR>a<BS><BS>
   
 endif  endif
 " }}} end mappings  " }}} end mappings
   
 " 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
 fun! s:SmartBS(pat, ...)  fun! s:SmartBS()
   let init = strpart(getline("."), 0, col(".")-1)    let init = strpart(getline("."), 0, col(".")-1)
   let len = strlen(matchstr(init, a:pat . "$")) - 1    let len = strlen(matchstr(init, '\(' .
                                   \ '\\[^\"]{\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:
Odstranené z verzie1.8  
zmenené riadky
  Pridané vo verzii1.9

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok