From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27780 invoked by alias); 22 Apr 2014 07:05:01 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18752 Received: (qmail 29005 invoked from network); 22 Apr 2014 07:04:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140422000511.ZM3722@torch.brasslantern.com> Date: Tue, 22 Apr 2014 00:05:11 -0700 In-reply-to: <20140422060255.GA11759@lilyforest> Comments: In reply to lilydjwg "Re: zsh: no matches found" (Apr 22, 2:02pm) References: <874n1ot1nt.fsf@gmail.com> <87k3akrljw.fsf@turtle.gmx.de> <87zjjfsy3m.fsf@gmail.com> <20140421194618.GA10917@neroon.zhar.net> <20140422060255.GA11759@lilyforest> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: zsh: no matches found MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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