I am using Vim 7.4 in Windows 7.
I am trying to map F2 to the following ex-command,
execute "normal ggf\<tab>"| execute "normal \<c-q>G$d"| %s/ \+//g
using the following mapping command
:nmap <F2> :execute "normal ggf\<tab>" \| execute "normal \<c-q>G$d" \| :%s/ \+//g
but when I press F2, the following shows up
:execute "normal ggf\^I" | execute "normal \G$d" |%s/ \+//g
<tab> changes to
<c-q> disappears. How can I prevent
those changes to execute the original ex-command?
<c-q> is the default visual block selection in Vim 7.4 in Windows.