Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Speed
- X-seq: zsh-users 4971
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Thorsten Haude <zsh@xxxxxxxxxxxxxx>, Zsh User ML <zsh-users@xxxxxxxxxx>
- Subject: Re: Speed
- Date: Tue, 14 May 2002 15:11:14 +0000
- In-reply-to: <20020514065602.GB891@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020513211550.GP963@xxxxxxxxxxxxx> <1020514005004.ZM12670@xxxxxxxxxxxxxxxxxxxxxxx> <20020514065602.GB891@xxxxxxxxxxxxx>
On May 14, 8:56am, Thorsten Haude wrote:
}
} >There might be other things in your startup files that are slowing down
} >initialization, but setopts are not likely to be it.
} Anything special?
Other than `compinit', no, nothing special, it'd depend entirely on your
local setup.
} Is that described somewhere?
There are various ways to speed up compinit -- the .zcompdump file, which
is described in `man zshcompsys' or in the info under "Completion System",
and the `zcompile' command.
} This is probably some trivial stuff I just happened to avoid before: I
} have some bindkeys in my /etc/zshenv, and I want to understand what
} they are doing. So I would simply need a list that translates "^[[23~"
} or "^[6;5~" in whatever key is meant.
Aha. You'll have to look for this in the documentation for your terminal
or terminal emulator; it varies too much for the zsh manual to try to
list all the possibilities.
BTW, ^[6;5~ looks like a cursor movement sequence or other display control
code, not a key binding, but I suppose it might be a key.
You could try the `zkbd' helper that's included with zsh 4 -- it asks you
to type a bunch of keys and then creates a file that contains assignments
that look like
key[F1]='^[OP'
key[F2]='^[OQ'
key[F3]='^[OR'
key[F4]='^[OS'
etc. However, it doesn't know about all possible keys on all possible
keyboards, just the most common ones.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author