how to remap key ? #367
-
I want to remap Also how ugrep work like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Remapping TUI keys is not possible. Also ESC or CTRL-C work to quit (turn confirmation off in a .ugrep file with For the second question, ugrep is not meant to be a replacement for fzf, although fuzzy search is supported by ugrep and the TUI supports file (pre)views. In the TUI CTRL-Y views a selected file with If you want to first recursively select files matching a PATTERN and then search the selected files with various (fuzzy) patterns, then use It is unclear what you mean by "char fuzzy match file , A way to get fuzzy-matching files sorted by best match to view, you could do $ ug -lZQ --sort=best and then type in patterns to preview the file(s) shown in the preview screen (CTRL-T) or view them with CTRL-Y. Press CTRL-Z for help and to change search options. Press ALT-g to enter globs to select files and dirs. |
Beta Was this translation helpful? Give feedback.
Remapping TUI keys is not possible. Also ESC or CTRL-C work to quit (turn confirmation off in a .ugrep file with
no-confirm
when desired). If there are use cases that require remapping keys, then this can be requested as a new feature.For the second question, ugrep is not meant to be a replacement for fzf, although fuzzy search is supported by ugrep and the TUI supports file (pre)views. In the TUI CTRL-Y views a selected file with
more
orless
as a pager, in which you can specify search patterns. Other viewers can be assigned by specifyingview=PAGER
in the .ugrep file.If you want to first recursively select files matching a PATTERN and then search the selected files with various (fuzzy…