Efraim Yawitz wrote:
> exec "map " . fromKey . " " . toKey

The only catch is that this is a one-time mapping, so if you do 
something like

   :let fromKey='a'
   :let toKey='b'
   :exec "map ".fromKey." ".toKey
   :let toKey='c'

it won't change the mapping of "a->b" to "a->c".  You'd have to 
rerun the :exec command.

-tim




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to