<commit_before>.TH WMIIMENU 1 wmii-3
.SH NAME
wmiimenu \- window manager improved 2 menu
.SH SYNOPSIS
.B wmiimenu
.B \-s
.I socketfile
.SH DESCRIPTION
.SS Overview
.B wmiimenu
is a generic, highly customizable, and efficient menu for the X Window System,
originally designed for
.BR wmii (1).
It supports arbitrary, user defined menu contents, which get printed to stdout when selected.
.SS Options
.TP
.B \-v
prints version information to stderr, then exits.
.SS Customization
.B wmiimenu
is customized by feeding it a list of newline-separated items from stdin.
.SH SEE ALSO
.BR wmiibar (1),
.BR wmiifs (1),
.BR wmii (1),
.BR wmiiwm (1),
.BR wmiikeys (1),
.BR wmiir (1)<commit_msg>Add shortcuts to wmiimenu.1, some other changes.<commit_after>.TH WMIIMENU 1 wmii-3
.SH NAME
wmiimenu \- window manager improved 2 menu
.SH SYNOPSIS
.B wmiimenu
.RB [ \-v ]
.SH DESCRIPTION
.SS Overview
.B wmiimenu
is a generic, highly customizable, and efficient menu for the X Window System,
originally designed for
.BR wmii (1).
It supports arbitrary, user defined menu contents.
.SS Options
.TP
.B \-v
prints version information to stderr, then exits.
.SS Keys 
.B wmiimenu
is completely keyboard controlled, these are the keys:
.TP 2
Any printable character:
append the character to the text in the input field. This works as a filter:
only items containing this text will be displayed.
.TP 2
Left/Right (C-p/C-n)
select the previous/next item.
.TP 2
Tab (C-i)
copy the selected item to the input field.
.TP 2
Enter (C-j)
confirm selection and quit.
.TP 2
Escape (C-[)
quit without selecting an item.
.TP 2
Backspace (C-h)
remove enough characters from the input field to change its filtering effect.
.TP 2
C-u
remove all characters from the input field.
.SS Customization
.B wmiimenu
is customized by providing it a list of newline-separated items from stdin on startup.
The selected item is printed to stdout.
.SH SEE ALSO
.BR wmii (1),
.BR wmiiwm (1),
.BR wmiir (1)
{'fraction_non_alphanumeric': 0.08081841432225063, 'fraction_numerical': 0.01278772378516624, 'mean_word_length': 3.7246376811594204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3546667', 'n_tokens_mistral': 692, 'n_tokens_neox': 650, 'n_words': 315}