Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with motion commands defined using match-word-by-style used with vi-delete
- X-seq: zsh-users 10170
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Problem with motion commands defined using match-word-by-style used with vi-delete
- Date: Sun, 23 Apr 2006 08:53:10 -0700
- In-reply-to: <dbfc82860604230157h52f91585ncfd5a984a1a08c67@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <dbfc82860604211610x70a12466j7eb5bb6758e85c0d@xxxxxxxxxxxxxx> <060421220035.ZM7625@xxxxxxxxxxxxxxxxxxxxxx> <dbfc82860604220404m121e4659i12a9cc901717a191@xxxxxxxxxxxxxx> <060422113544.ZM9246@xxxxxxxxxxxxxxxxxxxxxx> <dbfc82860604221438i51d3a8e0tc06b0b5c90d40cb6@xxxxxxxxxxxxxx> <060422230929.ZM9841@xxxxxxxxxxxxxxxxxxxxxx> <dbfc82860604230157h52f91585ncfd5a984a1a08c67@xxxxxxxxxxxxxx>
On Apr 23, 10:57am, Nikolai Weibull wrote:
} Subject: Re: Problem with motion commands defined using match-word-by-styl
}
} > In the short term, I think it'd work to reset $WIDGET yourself:
} >
} > local WIDGET=$motion_command
} > zle $motion_command -n $count
}
} WIDGET is, sadly, a read-only variable.
Declaring it "local" should circumvent that. You might need "local -h",
now that I think of it.
} I fear my time would be
} better spent implementing .recursive-edit-read-one-key.
There must be a better name for it than that. GNU emacs appears to call
it read-key-sequence.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author