Robbo schrieb:
> Hi,
> in latex-suite the backspace treats sequences such as \'e like a
> single character. So if you put the cursor at the end of \'e and then
> you type backspace, all the sequence is deleted.
> This doesn't happen with the sequence \`e.
> How could I overcome this problem?
>
> Thank you.

I found the variable g:Tex_SmartBSPattern, but not in latex-suite's
help (missing there), only by following what <BS> is mapped to.

Its default value is defined in ftplugin\latex-suite\texrc .

I think you have to define a modified copy of that variable in your
vimrc.

E.g. (for your special case, I already added one ` ):

let g:Tex_SmartBSPattern =
    \ '\(' .
    \ "\\\\[\"^'=v]{\\S}"      . '\|' .
    \ "\\\\[\"^'`=]\\S"        . '\|' .
    \ '\\v \S'                 . '\|' .
    \ "\\\\[\"^'=v]{\\\\[iI]}" . '\|' .
    \ '\\v \\[iI]'             . '\|' .
    \ '\\q \S'                 . '\|' .
    \ '\\-'                    .
    \ '\)' . "$"

-- 
Andy


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to