Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: tab inserts literal tab instead of completing at beginning of line



On Wed, May 18, 2011 at 3:37 PM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> Yes, this actually happened to me. If I were to find where this
> special tab-insert-at-start-of-line handling is, could I disable it,
> or do I need to add an option?

See the doc for the insert-tab zstyle.

> There's always ctrl-v tab, and why do
> you want to write literal tabs at the start of the line anyway; to
> paste random indented scriptlets?

Generally speaking, yes.

> If that's why, maybe I can make the
> thing check if the line is empty instead of $cursor==0?

Or try the "pending" setting of the style.  If testing for pending
input were more reliable, we might make that the default instead of
"true".



Messages sorted by: Reverse Date, Date, Thread, Author