[Vim-latex-devel] bug in \item command
Brought to you by:
srinathava,
tmaas
From: Javier R. <jer...@gm...> - 2006-04-21 03:55:08
|
Hi, I have a problem with the item command:=20 Since I use accented characters, I've remapped the command for inserting th= e=20 \item to imap <buffer> \it <Plug>Tex_InsertItemOnThisLine in my tex.vim When I'm within a itemize, enumerate, or description environment and I type= =20 \it, it works fine; however, when I'm within a list environment it doesn't= =20 write anything. Even more, it deletes my (so hardly typed :)) \it. I have=20 noticed that the same happens when I'm outside of all the three previous=20 environments. Anyway, would it be possible that vimlatex, instead of deleting the text=20 written, simply puts it "as is" if I'm not within any of the itemize,=20 enumerate or description environments? For example, if my imap were \potato= ,=20 vimlatex should change it to \item when I'm inside of some of these=20 environments, and leave \potato if I'm out. Thanks for your attention =2D-=20 Javier Rojas GPG key: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0xA1C57061 |