134673Re: Deactivating ESC
- Nov 24, 2012On 11:07 Sat 24 Nov , Tobias Pflug wrote:
> Hi,Since you (and me as well, though I am on Linux) are using system to
> i was talking to a friend recently who had remapped capslock to ESC on his macbook. While the capslock key is indeed easier to reach the problem lies with the muscle memory and the years of reaching for ESC ;-)
> Now the question is, can you somehow deactivate/remap the *actual* ESC key leaving capslock untouched ? I can't very well map <ESC> to <NOP> because capslock is then obviously mapped to <NOP> as well. Any ideas on this ?
> thank you.
> 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
change that this might not be possible: now CAPSLOCK generates the same
keykode as ESC, so there is no way that vim could find a difference
between them. What you can do is to remap ESC to CAPSLOCK in your
system and that's probably the best solution. In all the other aps you
will learn to use CAPSLOCK instead of ESC :) - you will have much more
opportunities to learn the new layout.
What about using <C-C> in insert mode, or even remapping <C-C> to <ESC>
since there are some differences. Like triggering InsertLeave
autocommand group (:help InsertLeave).
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
- << Previous post in topic Next post in topic >>