Saturday, February 19, 2011

mapping F3 to map q ^B

Hello

To make paging easier, I have in my .vimrc

map q ^B
map g ^F

Some times I want to use the recording feature activated by qq, so I want to
undo the mapping of q, then restore it afterwards.

I have

map #2 ^[:unmap q^M

which works

and

map #3 ^[:map q ^B^M

which does not produce any errors, but doesn't work. Pressing F3 causes vim
to display "No mapping found".

I suspect my problem is that I'm trying to do a mapping with a map command
(something akin to trying to print a double quote inside of a double-quoted
string).

Any ideas?

thanks

Lyle
--
View this message in context: http://vim.1045645.n5.nabble.com/mapping-F3-to-map-q-B-tp3392648p3392648.html
Sent from the Vim - General mailing list archive at Nabble.com.

--
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

No comments: