Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh Issue - "Tab" character is not pasted into shell
- X-seq: zsh-workers 39152
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: zsh Issue - "Tab" character is not pasted into shell
- Date: Thu, 1 Sep 2016 09:37:41 -0700
- Cc: Xavier Martinez Serrano <xmarti6@xxxxxxxx>
- 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==
- In-reply-to: <878tvb7mto.fsf@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAPYyywhCjvBrC2Vr9MZYnG7B1rGheBH-DFQK=ZAPyPBAP7H_8A@mail.gmail.com> <878tvb7mto.fsf@gmail.com>
On Sep 1, 3:48pm, Christian Neukirchen wrote:
} Subject: Re: zsh Issue - "Tab" character is not pasted into shell
}
} Xavier Martinez Serrano <xmarti6@xxxxxxxx> 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 <TAB> 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).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author