134679Re: Deactivating ESC
- Nov 24, 2012I'd suggest getting a nine volt battery, some wire and tin foil. Cover the top of esc key in tin foil and connect the wire to the tin foil and battery. The result should now give you a mild electric shock each time you reach for the esc key.
Note: not recommended if you have a pace maker.
Vito from mobile device
On Nov 24, 2012, at 4:14 AM, Marcin Szamotulski <mszamot@...> wrote:
> On 11:07 Sat 24 Nov , Tobias Pflug wrote:
>> 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
> Since you (and me as well, though I am on Linux) are using system to
> 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
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 >>