kien/ctrlp.vim — Issue #103: Mapping drives me nuts
Author: graudeejs
Created: 2012-01-20 20:49:46+00:00
State: open

Hello!

I'd like to use custom mapping in my vimrc. The advantage is that I can load ctrlp only when I need it.
(here's example: https://github.com/graudeejs/dot.vim/blob/b16cb555c0ea0dc8ab5dd7593bc1149cf1e05ea8/vimrc#L464)

However this line drives me insane.
https://github.com/kien/ctrlp.vim/blob/master/plugin/ctrlp.vim#L29

Everything works fine until I save vim session, and load it later.
After loading session my key map is remapped.

Perhaps there's other way to implement it, or you could add option for ctrlp to not map commands to key bindings.