@@ -4,7 +4,7 @@ Cz provides a common interface to interactive line selection tools.
44
55Cz also acts as a framework for line selection based applications.
66
7- Included are almost 200 plugins for common use cases. Out of the box you can select from:
7+ Included are over 200 plugins for common use cases. Out of the box you can select from:
88
99 - everything from bash's built-in completion
1010 - files and directories
@@ -17,6 +17,7 @@ Included are almost 200 plugins for common use cases. Out of the box you can sel
1717 - docker images
1818 - system processes
1919 - i3 window manager components
20+ - terraform resources
2021
2122And a whole lot more!
2223
@@ -25,10 +26,12 @@ And a whole lot more!
2526Cz suports the following line selection tools:
2627 - [ dmenu] ( https://tools.suckless.org/dmenu )
2728 - [ fzf] ( https://github.com/junegunn/fzf )
29+ - [ fzy] ( https://github.com/jhawthorn/fzy )
2830 - [ iselect] ( http://www.ossp.org/pkg/tool/iselect )
2931 - [ pick] ( https://github.com/mptre/pick )
3032 - [ pipedial] ( https://code.reversed.top/user/xaizek/pipedial )
3133 - [ rofi] ( https://github.com/davatorium/rofi )
34+ - [ selecta] ( https://github.com/garybernhardt/selecta )
3235 - [ sentaku] ( https://github.com/rcmdnk/sentaku )
3336 - [ slmenu] ( https://bitbucket.org/rafaelgg/slmenu ) (defunct?)
3437 - [ vis-menu] ( https://github.com/martanne/vis )
@@ -52,7 +55,7 @@ It is assumed that at least one of the line selection tools listed above is also
5255
5356```
5457cz [OPTIONS] < LINES
55- Select a line from input with an available tool .
58+ Select a line from input interactively .
5659
5760cz [OPTIONS] [PLUGIN] [ARGS ...]
5861Run a plugin to select something application specific.
@@ -65,24 +68,30 @@ OPTIONS
6568 -l : plugins : List detected plugins.
6669 -v : version : Print version string.
6770
68- These options set program mode. Select a line then...
71+ These options set the program mode. Select a line then...
6972 -p : print : Print the line. This is the default mode.
70- -q : quote : Print extracted FIELDS from the line.
71- -r : run : Run the string formatted by TEMPLATE using fields from the line.
72- -s : simulate : Print the string formatted by TEMPLATE using fields from the line.
73+ -q : quote : Print fields extracted from the line.
74+ -r : run : Run a command templated with fields from the line.
75+ -s : simulate : Print a string templated with fields from the line.
7376
7477 General options:
78+ -c : Use newly generated input not cached lines.
7579 -d DELIMITER : Set field splitting characters for selected line.
7680 -e TEMPLATE : Set command template. This option implies mode '-r'.
7781 -f FIELDS : Set field template. This option implies mode '-q'.
7882 -g : Buffer stdin and pass it to command set with '-e'.
7983 -i IN-FILE : Set file from which to read selections instead of stdin.
8084 -o : Only print input lines instead of selecting a line.
8185 -x : Use a graphical line selection tool.
82- -y : Use a text terminal line selection tool.
86+ -y : Use a terminal line selection tool.
8387 -z TOOL : Use the given line selection tool.
8488 -0 : Read null terminated lines from input.
8589
90+ TOOLS
91+ Cz provides a common interface to multiple interactive line selection tools.
92+ The suported tools are dmenu, fzf, fzy, iselect, pick, pipedial, rofi, selecta,
93+ sentaku, slmenu, and vis-menu.
94+
8695TEMPLATES
8796 Substrings of TEMPLATE in the following formats are replaced with
8897 one or more fields from a selected line split by DELIM.
@@ -105,9 +114,9 @@ ENVIRONMENT
105114 CZ_BINS_TTY : list of terminal utilities in order of preference
106115 CZ_DMENU_COLOR : Colon separated colors for dmenu (NF:NB:SF:SB)
107116
108- TOOLS
109- Supported line selection tools are dmenu, fzf, iselect, pick,
110- pipedial, rofi, sentaku, slmenu, and vis-menu.
117+ EXAMPLES
118+ Compose plugins to get any file under an apparix bookmarked directory.
119+ $ cz -e 'cz -q find file {1}' apparix
111120
112121```
113122## Examples
@@ -267,3 +276,11 @@ print $pipe $_ for map { sprintf "%d %d\n", $_, 2 ** $_ } (1..32);
267276close ($pipe );
268277
269278```
279+
280+
281+ ## Name
282+ ```
283+ seize
284+ To fall or rush upon suddenly and lay hold of; to gripe or grasp suddenly;
285+ *to reach and grasp*.
286+ ```
0 commit comments