This is forward of Debian #301078 bug. Full report is
available at http://bugs.debian.org/301078
Hello,
I have this problem that I haven't noticed when using
vim-latexsuite on other
distros:
Let us say I want to insert a figure typing "EFI" and
then jump (CTRL+J) to the
"htbp" field.
Then if I type "htbp" (or anything that won't begin
with a "p"), the text is
perfectly, inserted.
However, if I want to insert "p" instead of "htbp", it
will run the "paste"
command instead of typing "p"
This seems to happen after a jump if the text to be
typed begins with a p ( eg:
in .bib files : bibliographic entries as "poe-raven")
using debian sarge
just changed the mappings in tex.vim file in order to
get some french characters
(as explained in the vim-latex website) but doesn't
seem to affect the bug.
Logged In: YES
user_id=460214
Hi,
It looks like this happens on debian because of the
following lines in /usr/share/vim/vimrc:
" Make p in Visual mode replace the selected text with the
"" register.
vnoremap p <Esc>:let current_reg =
@"<CR>gvdi<C-R>=current_reg<CR><Esc>
If you remove this line, then things work fine... You can put a
vunmap p
in your ~/.vim/ftplugin/tex.vim file.
Srinath