Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh: no matches found
- X-seq: zsh-users 18760
- From: lilydjwg <lilydjwg@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: zsh: no matches found
- Date: Thu, 24 Apr 2014 12:10:41 +0800
- Cc: zsh-users@xxxxxxx
- Disposition-notification-to: missyou11@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to :disposition-notification-to:user-agent; bh=quv8hZwbAIyjxokMeeCjd+H1tnOEKzj2laCN56PbLuU=; b=JbtNe5rQLaxOWalA9QQapoUIwpq6Q5xYZo/S2Xh4L7lz7h73Dl+9JFryAMmLsipgLt PwwbHymer0RrodA1pmDnODwdGEYqFCI+xWx+bNOBdcyBOx7ekSkwSrUbDvNJ9yncHBK4 c14NCf0OL9UsMTJYMU9cCXnkIa4/vXNRgASeQqKQQWSEVjzEqD++8M6rEmRO6X3mQswz ort28oyuzme1HDGAfNoBkwWBUWtmPmLxFTSpJLrVExnlvPGTks2I8NT/Pg4m0ZpGiav8 LY1bXtziIDwhfz/NKsPS1QvwIhjG/Xj1AgpGYBlly2kQTG8TJWxrrskDwplNOylKkBrp DDIw==
- In-reply-to: <140422000511.ZM3722@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CALfoNRxgwaETX1Zt=wkGULy3WheNe-o3TzWe+EBpVrdR_Wv2OA@mail.gmail.com> <874n1ot1nt.fsf@gmail.com> <87k3akrljw.fsf@turtle.gmx.de> <87zjjfsy3m.fsf@gmail.com> <20140421194618.GA10917@neroon.zhar.net> <20140422060255.GA11759@lilyforest> <140422000511.ZM3722@torch.brasslantern.com>
On Tue, Apr 22, 2014 at 12:05:11AM -0700, Bart Schaefer wrote:
> On Apr 22, 2:02pm, lilydjwg wrote:
> }
> } Hi, I find url-quote-magic is great for literal URLs, but when I try to
> } paste some code with variables in URLs it breaks. Is there a toggle
> } key/function or something to temporarily disable url-quote-magic?
>
> zle -A .self-insert self-insert
>
> should take care of it. If you want that bound to a key, something like
>
> toggle-uqm() {
> if zle -l self-insert
> then zle -A .self-insert self-insert && zle -M self-insert
> else zle -N self-insert url-quote-magic && zle -M url-quote-magic
> fi
> }
> zle -N toggle-uqm
> bindkey '^X$' toggle-uqm # Choose your preferred binding
Thanks!
--
Best regards,
lilydjwg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author