From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4896 invoked by alias); 1 Sep 2016 16:37:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 39152 Received: (qmail 22853 invoked from network); 1 Sep 2016 16:37:14 -0000 X-Qmail-Scanner-Diagnostics: from mail-pf0-f179.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.192.179):SA:0(0.0/5.0):. Processed in 0.765616 secs); 01 Sep 2016 16:37:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject:cc :mime-version; bh=UyVBEPSLtsAQ/2PiDevvXpiRu4pqdd/CYJvkRBefJwg=; b=tQAYBJxXAl+SCy8P5dWGlVE2y6RsSszqICBNn+0qDBlOj2KBKoNXJbfv4vMXmLvMw8 +1b3PrTpIEoQRcHPlZzzuMDzZFqFZ6/kD5TAYNLpDDo7GsxXjkiSd0aiM9qlRnFnu9Jr 2SN2+zUG/pCg3tZ4soh1+IlMR6VmR3cDZVTR1XfEtcH76QJw1fy6d6EjadmU7BMBfHVl akxolEcbj63Yze31XiJ42DqPlVDtDo5eCr5B4c0iJ2mHJ0wGqSE7GcZf4A/XQsAEAcex 7zwfe4TaPUZEW+9qBcqFaHlnRpEf1ea9LJj8xh5Ehlz8HKv/ZJTWSb/yahQKBDaDmzbD FJqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:cc:mime-version; bh=UyVBEPSLtsAQ/2PiDevvXpiRu4pqdd/CYJvkRBefJwg=; b=Fc1cHnre1VF4Bu1LcNdYi7/3tpmhI9E9BGysHsIPEg+9mhIkBtZ5BSYs7m1EkzJ7Yr yk2mE/26MFAGdU0xVflbPmDIYvKgX1njMYDt92fMfCmMV0jBXlVgve8p/WqII7tyJMYi PKEYiM++2bfi1A2MFZOOUXINngLfjkjNU3XQx5AHBPBWs4D1xi+S8pKSeudYpWRKFTqQ 3O1vkq90WQljnftye+Bjd0AbhLqD2jayzobYCVC/JW7c019KMW/tMHWw7NNzrIkX9sDI 5/SYudZV8Qj3kxOpSL6Hdg/gZBEP+OgbdlRbFg+Z8m3FIM1wzYP9KhzXBP+xvbldarAT FFEg== X-Gm-Message-State: AE9vXwNGzJO6nOvNC3v+VIDX/CmfmiehJP4wsp8FFAH3PqBvKOoN22X73FGDfoLFZhQaRA== X-Received: by 10.98.53.68 with SMTP id c65mr28424356pfa.66.1472747826278; Thu, 01 Sep 2016 09:37:06 -0700 (PDT) From: Bart Schaefer Message-Id: <160901093741.ZM4255@torch.brasslantern.com> Date: Thu, 1 Sep 2016 09:37:41 -0700 In-Reply-To: <878tvb7mto.fsf@gmail.com> Comments: In reply to Christian Neukirchen "Re: zsh Issue - "Tab" character is not pasted into shell" (Sep 1, 3:48pm) References: <878tvb7mto.fsf@gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: zsh Issue - "Tab" character is not pasted into shell Cc: Xavier Martinez Serrano MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 1, 3:48pm, Christian Neukirchen wrote: } Subject: Re: zsh Issue - "Tab" character is not pasted into shell } } Xavier Martinez Serrano writes: } } > I recently experimented an issue when pasting "tab" characters to zsh } } Without special copy&paste support, "pasting" just means the terminal } emulator types in the text very quickly, and means to do } completion in this case... If you are using completions from "compinit" you can do this: zstyle ':completion::*' insert-tab 'pending=1' This causes completion to look for pending input when it sees a TAB character and insert the tab literally if there's more input after it. Typically this happens only when pasting unless you are working with a very slow connection or a heavily loaded CPU, so the effect is that you are able to paste tabs without having completion consume them. } That said, recent zsh support terminal copy&paste, so with my zsh 5.2 } this works out of the box (setopt zle_bracketed_paste), at least in } urxvt and xterm. There's actually no setopt for this, it's on by default. To turn it OFF you must do "unset zle_bracketed_paste" (it's a parameter, not an option).