Edward Gomez | 17 Aug 21:29

Making it Easier to Escape

With it being such a tradition in vi, I don't know if anyone will take me seriously when I say that it would be nice if we had an alternative to the Escape Key in Vimperator.  On Vim, I have had it mapped to ;i for years because with today's keyboards, going over touchpads all the way to Escape, seems such a *looong* distance to travel :-).  I asked once before about this but, at that time, there was no alternative.  Has anything changed? 

Short of a remapping alternative for Esc, on a related note, I was wondering whether it would be feasible when in "Pass Through" mode for a mouse/touchpad click to the command line to release Vimperator into command mode?  I haven't thought this one through very well but it might be useful.

Thanks

<div><div dir="ltr">With it being such a tradition in vi, I don't know if anyone will take me seriously when I say that it would be nice if we had an alternative to the Escape Key in Vimperator.&nbsp; On Vim, I have had it mapped to ;i for years because with today's keyboards, going over touchpads all the way to Escape, seems such a *looong* distance to travel :-).&nbsp; I asked once before about this but, at that time, there was no alternative.&nbsp; Has anything changed?&nbsp; <br><br>Short of a remapping alternative for Esc, on a related note, I was wondering whether it would be feasible when in "Pass Through" mode for a mouse/touchpad click to the command line to release Vimperator into command mode?&nbsp; I haven't thought this one through very well but it might be useful.<br><br>Thanks<br><br>
</div></div>
Fredrik Gustafsson | 17 Aug 21:46

Re: Making it Easier to Escape

On Sun, Aug 17, 2008 at 12:32:00PM -0700, Edward Gomez wrote:
> With it being such a tradition in vi, I don't know if anyone will take me
> seriously when I say that it would be nice if we had an alternative to the
> Escape Key in Vimperator.  On Vim, I have had it mapped to ;i for years
> because with today's keyboards, going over touchpads all the way to Escape,
> seems such a *looong* distance to travel :-).  I asked once before about this
> but, at that time, there was no alternative.  Has anything changed? 
> 
> Short of a remapping alternative for Esc, on a related note, I was wondering
> whether it would be feasible when in "Pass Through" mode for a mouse/touchpad
> click to the command line to release Vimperator into command mode?  I haven't
> thought this one through very well but it might be useful.
> 
> Thanks
> 
> 

> _______________________________________________
> Vimperator mailing list
> Vimperator@...
> https://www.mozdev.org/mailman/listinfo/vimperator

Not an answear to your question really, but the orginal vi keyboard had
escape on the same place that holds caps lock today.

The usual way to deal with this is to simply on an OS-level (or more
specific, on an input device level) switch place on esc and caps lock.
There are many examples how you do this just for your OS at vim.org.
--

-- 
Med vänliga hälsningar
Fredrik Gustafsson
Frank Blendinger | 18 Aug 15:08

Re: Making it Easier to Escape

Hi.

Fredrik Gustafsson <iveqy@...> enlightened the world by writing
these words of wisdom:
> Not an answear to your question really, but the orginal vi keyboard had
> escape on the same place that holds caps lock today.
> 
> The usual way to deal with this is to simply on an OS-level (or more
> specific, on an input device level) switch place on esc and caps lock.
> There are many examples how you do this just for your OS at vim.org.

I have done this for under Linux (very simple with xmodmap) and Windows
(ugly registry hack, but what else to expect), but I never found a way
to make CapsLock behave like ESC under Mac OS (I'm using 10.4). I would
love to hear of any tips.

Greetings,
Frank

-- 
Frank Blendinger | fb(at)intoxicatedmind.net | GPG: 0x0BF2FE7A
Fingerprint: BB64 F2B8 DFD8 BF90 0F2E 892B 72CF 7A41 0BF2 FE7A
  "Just because I don't care doesn't mean I don't understand."
                                               (Homer Simpson)
Hi.

Fredrik Gustafsson <iveqy@...> enlightened the world by writing
these words of wisdom:
> Not an answear to your question really, but the orginal vi keyboard had
> escape on the same place that holds caps lock today.
> 
> The usual way to deal with this is to simply on an OS-level (or more
> specific, on an input device level) switch place on esc and caps lock.
> There are many examples how you do this just for your OS at vim.org.

I have done this for under Linux (very simple with xmodmap) and Windows
(ugly registry hack, but what else to expect), but I never found a way
to make CapsLock behave like ESC under Mac OS (I'm using 10.4). I would
love to hear of any tips.

Greetings,
Frank

--

-- 
Frank Blendinger | fb(at)intoxicatedmind.net | GPG: 0x0BF2FE7A
Fingerprint: BB64 F2B8 DFD8 BF90 0F2E 892B 72CF 7A41 0BF2 FE7A
  "Just because I don't care doesn't mean I don't understand."
                                               (Homer Simpson)
Darren Duan | 18 Aug 11:31

Re: Making it Easier to Escape

I had the exact problem and now I am using AutoHotkey (btw, it's free on Windows) to solve it.
It allows you to remap keys for specific applications, Firefox here of coz.


On Mon, Aug 18, 2008 at 3:32 AM, Edward Gomez <informationeagle-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
With it being such a tradition in vi, I don't know if anyone will take me seriously when I say that it would be nice if we had an alternative to the Escape Key in Vimperator.  On Vim, I have had it mapped to ;i for years because with today's keyboards, going over touchpads all the way to Escape, seems such a *looong* distance to travel :-).  I asked once before about this but, at that time, there was no alternative.  Has anything changed? 

Short of a remapping alternative for Esc, on a related note, I was wondering whether it would be feasible when in "Pass Through" mode for a mouse/touchpad click to the command line to release Vimperator into command mode?  I haven't thought this one through very well but it might be useful.

Thanks


_______________________________________________
Vimperator mailing list
Vimperator-hfdxhZW8pNUdnm+yROfE0A@public.gmane.org
https://www.mozdev.org/mailman/listinfo/vimperator


<div><div dir="ltr">I had the exact problem and now I am using AutoHotkey (btw, it's free on Windows) to solve it.<br>It allows you to remap keys for specific applications, Firefox here of coz.<br><br><br><div class="gmail_quote">
On Mon, Aug 18, 2008 at 3:32 AM, Edward Gomez <span dir="ltr">&lt;<a href="mailto:informationeagle@...">informationeagle@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">With it being such a tradition in vi, I don't know if anyone will take me seriously when I say that it would be nice if we had an alternative to the Escape Key in Vimperator.&nbsp; On Vim, I have had it mapped to ;i for years because with today's keyboards, going over touchpads all the way to Escape, seems such a *looong* distance to travel :-).&nbsp; I asked once before about this but, at that time, there was no alternative.&nbsp; Has anything changed?&nbsp; <br><br>Short of a remapping alternative for Esc, on a related note, I was wondering whether it would be feasible when in "Pass Through" mode for a mouse/touchpad click to the command line to release Vimperator into command mode?&nbsp; I haven't thought this one through very well but it might be useful.<br><br>Thanks<br><br>
</div>
<br>_______________________________________________<br>
Vimperator mailing list<br><a href="mailto:Vimperator@...">Vimperator@...</a><br><a href="https://www.mozdev.org/mailman/listinfo/vimperator" target="_blank">https://www.mozdev.org/mailman/listinfo/vimperator</a><br><br>
</blockquote>
</div>
<br>
</div></div>
Edward Gomez | 20 Aug 02:14

Re: Making it Easier to Escape

On Mon, 18 Aug 2008 17:31:25 +0800, Darren Duan" <fduddx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

>I had the exact problem and now I am using AutoHotkey (btw, it's free on
>Windows) to solve it.
>It allows you to remap keys for specific applications, Firefox here of coz.

Darren,
     Thanks so much for pointing this out, it's actually quite important to me and helps out enormously.  I've had AutoHotkey on my system for a long time now but, incredibly, the thought never occurred to me (bangs head against the wall).  I must be getting old. :-)
     At any rate, I mapped it to the RAlt::Esc for the time being until I can figure out alternatives.  Actually, I'm sort of liking it like this. 

Cheers!


<div><div dir="ltr">On Mon, 18 Aug 2008 17:31:25 +0800, Darren Duan" &lt;<a href="mailto:fduddx@...">fduddx@...</a>&gt; wrote:<br><br><div class="ArwC7c ckChnd">
&gt;I had the exact problem and now I am using AutoHotkey (btw, it's free on<br>
&gt;Windows) to solve it.<br>
&gt;It allows you to remap keys for specific applications, Firefox here of coz.<br><br>Darren,<br>&nbsp;&nbsp;&nbsp;&nbsp; Thanks so much for pointing this out, it's actually quite important to me and helps out enormously.&nbsp; I've had AutoHotkey on my system for a long time now but, incredibly, the thought never occurred to me (bangs head against the wall).&nbsp; I must be getting old. :-)<br>
&nbsp;&nbsp;&nbsp;&nbsp; At any rate, I mapped it to the RAlt::Esc for the time being until I can figure out alternatives.&nbsp; Actually, I'm sort of liking it like this.&nbsp; <br><br>Cheers!<br><br>
</div>
<br>
</div></div>
Edward Gomez | 20 Aug 03:31

Re: Making it Easier to Escape

Darren,
     I'm testing this snippet (using kk) for AutoHotkey, which, while imperfect and limited to certain situations in vimperator, also has it's uses:

**********************************************************************************
~k::
if (A_ThisHotKey==A_PriorHotkey && A_TimeSincePriorHotkey < 500)
    Send, {ESC}
Return
**********************************************************************************

It is not intended to completely replace the escape key as in my previous (quite rough) example though.  When and if I polish the whole thing a bit more I will let you know.  Along with the RAlt::Esc, this feels pretty good and should do for a few days - I think.

Thanks again.

<div><div dir="ltr">Darren,<br>&nbsp;&nbsp;&nbsp;&nbsp; I'm testing this snippet (using kk) for AutoHotkey, which, while imperfect and limited to certain situations in vimperator, also has it's uses:<br><br>**********************************************************************************<br>
~k::<br>if (A_ThisHotKey==A_PriorHotkey &amp;&amp; A_TimeSincePriorHotkey &lt; 500)<br>&nbsp;&nbsp;&nbsp; Send, {ESC}<br>Return<br>**********************************************************************************<br><br>It is not intended to completely replace the escape key as in my previous (quite rough) example though.&nbsp; When and if I polish the whole thing a bit more I will let you know.&nbsp; Along with the RAlt::Esc, this feels pretty good and should do for a few days - I think.<br><br>Thanks again.<br><br>
</div></div>

Gmane