[Vim-latex-devel] Change of s:smartBS_pat
Brought to you by:
srinathava,
tmaas
From: Berta M. <ber...@ar...> - 2004-06-01 16:55:18
|
I have changed the s:smartBS_pat in my ftplugin/latex-suite/main.vim. I think that this extension is better. It includes deleting (as one character) the following accents (in brackets are examples): \H{} (Hungarian =FB=DB=F5=D5), \r{} (Czech =F9=D9), \c{} (=E7=C7=BA=AA=FE=DE),= \u{} (=E3=C3), \k{} (=B1=A1=EA=CA) and \.{} (=BF=AF). The way that I changed it: let s:smartBS_pat =3D '\(' . \ "\\\\[\"^'=3D.ckHruv]{\\S}" . '\|' . \ "\\\\[\"^'=3D.]\\S" . '\|' . \ '\\[vurkHc] \S' . '\|' . \ "\\\\[\"^'=3Dv]{\\\\[iI]}" . '\|' . \ '\\v \\[iI]' . '\|' . \ '\\q \S' . '\|' . \ '\\-' . \ '\)' . "$" (Note: The old definition was: let s:smartBS_pat =3D '\(' . \ "\\\\[\"^'=3Dv]{\\S}" . '\|' . \ "\\\\[\"^'=3D]\\S" . '\|' . \ '\\v \S' . '\|' . \ "\\\\[\"^'=3Dv]{\\\\[iI]}" . '\|' . \ '\\v \\[iI]' . '\|' . \ '\\q \S' . '\|' . \ '\\-' . \ '\)' . "$" ) And my question is: Is there any way to change s:smartBS_pat (to define it) except changing the mentioned ftplugin/latex-suite/main.vim? For example, to write it in my .vimrc file? Milan |