fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
config.h
(603B)
1 #ifdef __cplusplus
2 extern "C" {
3 #endif
4
5 #define TTY_COLOR_HIGHLIGHT TTY_COLOR_BLUE
6
7 #define SCORE_GAP_LEADING -0.005
8 #define SCORE_GAP_TRAILING -0.005
9 #define SCORE_GAP_INNER -0.01
10 #define SCORE_MATCH_CONSECUTIVE 1.0
11 #define SCORE_MATCH_SLASH 0.9
12 #define SCORE_MATCH_WORD 0.8
13 #define SCORE_MATCH_CAPITAL 0.7
14 #define SCORE_MATCH_DOT 0.6
15
16 /* Time (in ms) to wait for additional bytes of an escape sequence */
17 #define KEYTIMEOUT 25
18
19 #define DEFAULT_TTY "/dev/tty"
20 #define DEFAULT_PROMPT "> "
21 #define DEFAULT_NUM_LINES 25
22 #define DEFAULT_WORKERS 0
23 #define DEFAULT_SHOW_INFO 1
24
25 #ifdef __cplusplus
26 }
27 #endif