SA | 9 Feb 11:06
Picon

Fwd: Redefining keystrokes "/|w"


I also meant to ask - is it possible to reverse the direction of a search? I 
often overshoot by one searching forward and want to back up one search.

In vi this is accomplished by "?" (shift "/")

Ta SA

----------  Forwarded Message  ----------

Subject: Redefining keystrokes "/|w"
Date: Thursday 09 Feb 2012, 09:51:42
From: SA <superaorta@...>
To: alpine-info@...

Since I have vi stuck in my fingers I instinctively type "/" for search,  it 
would be very nice (and get me out of a lot of trouble) if I could get pine to 
accept "/" alongside "w" (or instead of).

Does anyone know how I might manage this?

Ta SA

-----------------------------------------
malte.dik | 10 Feb 02:52
Picon

Re: Fwd: Redefining keystrokes "/|w"

Hi,

On Thu, 9 Feb 2012, SA wrote:
> I also meant to ask - is it possible to reverse the direction of a search? I
> often overshoot by one searching forward and want to back up one search.
>
> In vi this is accomplished by "?" (shift "/")

> Since I have vi stuck in my fingers I instinctively type "/" for search,  it
> would be very nice (and get me out of a lot of trouble) if I could get pine to
> accept "/" alongside "w" (or instead of).
>
> Does anyone know how I might manage this?

My experiences (at least with the composer) are, that you have to dig 
sourcecode and change the shortcuts there yourself. Switching from a 
composed shortcut to a single character might entail additional hassle, 
but for changing a Ctrl-XYZ-shortcut to another one it really is as 
straight forward as it sounds:

In Debian you just get the necessary boilerplate packages with

aptitude build-dep alpine

then clone the repository from sourceforge like

git clone 
git://re-alpine.git.sourceforge.net/gitroot/re-alpine/re-alpine

edit the shortcuts and ./configure && make.
(Continue reading)


Gmane