Saturday, September 19, 2015

Is it possible to remap i_CTRL-P to i_CRTL-X_CTRL-P

A while ago I found out about <C-X><C-P>. By now <C-P> is firmly in my muscle memory, but for the most part <C-X><C-P> seems an augmented but complete replacement.

I experimented mapping i<C-X><C-P> on to another control key which works fine. I'd like to imap <C-P> to <C-X><C-P> but this doesn't seem to work. I've tried several versions of imap, every time <C-P> acts like it has not been remapped (unlike another control key remap).

Any thoughts on how I can get <C-P> to work as <C-X><C-P> ?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: