Support color customization of other kinds of files.
[rover.git] / config.h
blobc9986cf9b08d1daa0d9dfe213ccc9f9118d288b0
1 #define RV_VERSION "0.3.0"
3 /* CTRL+X: "^X"
4 ALT+X: "M-X" */
5 #define RVK_QUIT "q"
6 #define RVK_HELP "?"
7 #define RVK_DOWN "j"
8 #define RVK_UP "k"
9 #define RVK_JUMP_DOWN "J"
10 #define RVK_JUMP_UP "K"
11 #define RVK_JUMP_TOP "g"
12 #define RVK_JUMP_BOTTOM "G"
13 #define RVK_CD_DOWN "l"
14 #define RVK_CD_UP "h"
15 #define RVK_HOME "H"
16 #define RVK_REFRESH "r"
17 #define RVK_SHELL "^M"
18 #define RVK_VIEW " "
19 #define RVK_EDIT "e"
20 #define RVK_SEARCH "/"
21 #define RVK_TG_FILES "f"
22 #define RVK_TG_DIRS "d"
23 #define RVK_TG_HIDDEN "s"
24 #define RVK_NEW_FILE "n"
25 #define RVK_NEW_DIR "N"
26 #define RVK_RENAME "R"
27 #define RVK_DELETE "D"
28 #define RVK_TG_MARK "m"
29 #define RVK_INVMARK "M"
30 #define RVK_MARKALL "a"
31 #define RVK_MARK_DELETE "X"
32 #define RVK_MARK_COPY "C"
33 #define RVK_MARK_MOVE "V"
35 /* Colors available: DEFAULT, RED, GREEN, YELLOW, BLUE, CYAN, MAGENTA, WHITE, BLACK. */
36 #define RVC_CWD GREEN
37 #define RVC_STATUS CYAN
38 #define RVC_BORDER BLUE
39 #define RVC_SCROLLBAR CYAN
40 #define RVC_LINK CYAN
41 #define RVC_HIDDEN YELLOW
42 #define RVC_REG DEFAULT
43 #define RVC_DIR DEFAULT
44 #define RVC_CHR MAGENTA
45 #define RVC_BLK MAGENTA
46 #define RVC_FIFO BLUE
47 #define RVC_SOCK MAGENTA
48 #define RVC_PROMPT DEFAULT
49 #define RVC_TABNUM DEFAULT
50 #define RVC_MARKS YELLOW
52 /* Special symbols used by the TUI. See <curses.h> for available constants. */
53 #define RVS_SCROLLBAR ACS_CKBOARD
54 #define RVS_MARK ACS_DIAMOND
56 /* Prompt strings for line input. */
57 #define RV_PROMPT(S) S ": "
58 #define RVP_SEARCH RV_PROMPT("search")
59 #define RVP_NEW_FILE RV_PROMPT("new file")
60 #define RVP_NEW_DIR RV_PROMPT("new dir")
61 #define RVP_RENAME RV_PROMPT("rename")
63 /* Number of entries to jump on RVK_JUMP_DOWN and RVK_JUMP_UP. */
64 #define RV_JUMP 10
66 /* Optional macro to be executed when a batch operation finishes. */
67 #define RV_ALERT() beep()