Unidentifiable Vim Keymap
Posted
by asdf.qwer
on Stack Overflow
See other posts from Stack Overflow
or by asdf.qwer
Published on 2010-03-15T19:17:53Z
Indexed on
2010/03/15
19:19 UTC
Read the original article
Hit count: 397
Hi
I'm trying to get rid of a pesky keymapping in vim, namely
\c
The mapping is only loaded for latex files, so it should be related to the latex-suite. It's annoying, because it can't type \cite without this keymap ruining everything. I can unmap it "manually" by typing:
:unmap! \c
But this doesn't work when I put that into my ~/.vimrc file because it says there's no such keymap.
I think this is because the keymap is loaded after .vimrc, although I'm not sure.
I've tried locate in bash to locate all files on my system that start have "vim" in their
filename, and subsequently grep keyword $filename to find all references to keyword that should be relevant.
The keyword I search for is "Traditional" because that's what the mapping is called (that's what I find by typing :map! in vim normal mode). It finds some entries that contain "Traditional" but nothing that corresponds to \c, except in the file:
~/.gnome2/gvim-sA9LOO-session.vim
But this file is not used by vim when starting up, as far as I know.
Anyone know any fix?
© Stack Overflow or respective owner