Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Announce of Zsh Navigation Tools
- X-seq: zsh-users 20533
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Announce of Zsh Navigation Tools
- Date: Tue, 8 Sep 2015 14:32:51 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=h+oGEy8+IrQb7Fk72XU9hwjzl8FnGD8cBtFkzAW/O3g=; b=y8nzhNLyWBQ5I88uNYdqx6vPlvvwJRvuzgAgM6cpNIjcKRFGImIig/5XJROK29hqN1 mcVQkZWYdkw7p97HhQb1vXrYVzSyu+CGLIvwLyCX5EJEwPrZdlWEIBFLdX7BIMpu0NG0 5RUNwUA61VkNhVEaYuuiNWe8Nr1E09y0UCfKpRLV+4mkpu0h+2xxNbeJxVRBRoQe9jyU 8dMVfowPk5AvPjUJevP3zc4HTrJkVrrvK+IBEQHn4KLQXFPrjtYeEIp2jW3KEHgTB+bN 2sg4lMh9dDcwdW1qJbpI9W26z7DEUClLK5oZxnNxaQ/nLy9eeJMIqpuoCgpAD/hZOjPQ VWCQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
I would like to announce Zsh Navigation Tools, a set of utilities based on
the tool's main component – n-list, a zcurses based selection list
supporting ANSI coloring and incremental search. The utilities are:
- n-aliases - browses aliases, relegates editing to vared
- n-cd - browses dirstack and bookmarked directories, allows to enter
selected directory
- n-env - browses environment, relegates editing to vared
- n-functions - browses functions, relegates editing to zed or vared
- n-history - browses history, allows to edit and run commands from it
- n-kill - browses processes list, allows to send signal to selected process
- n-options - browses options, allows to toggle their state
- n-panelize - loads output of given command into the list for browsing
- n-preview - a demonstration of running two lists at the same time and of
ANSI colors - syntax highlighted source browser
On GitHub page there is a link to video:
https://github.com/psprint/zsh-navigation-tools
The main idea behind the tools is that it is good to have navigation as
option side to completion.
Features not yet mentioned:
- initial grepping of what is browsed with "$1" given to utility
- making lists with non-selectable elements (to e.g. include headers in the
list)
- counting of how much elements there are (even when there are headers)
- jumping over predefined positions in the list with '[', ']' keys (used to
jump to bookmarks in 'n-cd' and through signals in 'n-kill')
- rich keys close to those of 'less' (like g, G, ctrl-u, ctrl-d, ctrl-p,
ctrl-n, /, j, k, home, end, etc.)
The code uses curses and regex modules. It is clean thanks to Zsh's rich
available math syntax when variable is declared as integer. N-preview will
show colored syntax if there is program "highlight" installed on the system.
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author