Max Waterman wrote:
> My laptop has the F1 key where my fingers expect the Esc key
> to be, so I tried to ':map ctr-vf1 ctr-vesc', but it made no
> difference.
> 
> Can someone tell me how to remap the f1 key to escape?

You need a mapping that's active in insert mode:

:imap <F1> <Esc>

John


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

  • F1 Max Waterman
    • RE: F1 John Beckett

Reply via email to