Version 1.0.0.
[rover.git] / config.h
blob3665bde4e0db2f2bc431396737fb0261e2d5e1da
1 #define RV_VERSION "1.0.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_TARGET "t"
17 #define RVK_COPY_PATH "y"
18 #define RVK_PASTE_PATH "p"
19 #define RVK_REFRESH "r"
20 #define RVK_SHELL "^M"
21 #define RVK_VIEW " "
22 #define RVK_EDIT "e"
23 #define RVK_OPEN "o"
24 #define RVK_SEARCH "/"
25 #define RVK_TG_FILES "f"
26 #define RVK_TG_DIRS "d"
27 #define RVK_TG_HIDDEN "s"
28 #define RVK_NEW_FILE "n"
29 #define RVK_NEW_DIR "N"
30 #define RVK_RENAME "R"
31 #define RVK_TG_EXEC "E"
32 #define RVK_DELETE "D"
33 #define RVK_TG_MARK "m"
34 #define RVK_INVMARK "M"
35 #define RVK_MARKALL "a"
36 #define RVK_MARK_DELETE "X"
37 #define RVK_MARK_COPY "C"
38 #define RVK_MARK_MOVE "V"
40 /* Colors available: DEFAULT, RED, GREEN, YELLOW, BLUE, CYAN, MAGENTA, WHITE, BLACK. */
41 #define RVC_CWD GREEN
42 #define RVC_STATUS CYAN
43 #define RVC_BORDER BLUE
44 #define RVC_SCROLLBAR CYAN
45 #define RVC_LINK CYAN
46 #define RVC_HIDDEN YELLOW
47 #define RVC_EXEC GREEN
48 #define RVC_REG DEFAULT
49 #define RVC_DIR DEFAULT
50 #define RVC_CHR MAGENTA
51 #define RVC_BLK MAGENTA
52 #define RVC_FIFO BLUE
53 #define RVC_SOCK MAGENTA
54 #define RVC_PROMPT DEFAULT
55 #define RVC_TABNUM DEFAULT
56 #define RVC_MARKS YELLOW
58 /* Special symbols used by the TUI. See <curses.h> for available constants. */
59 #define RVS_SCROLLBAR ACS_CKBOARD
60 #define RVS_MARK ACS_DIAMOND
62 /* Prompt strings for line input. */
63 #define RV_PROMPT(S) S ": "
64 #define RVP_SEARCH RV_PROMPT("search")
65 #define RVP_NEW_FILE RV_PROMPT("new file")
66 #define RVP_NEW_DIR RV_PROMPT("new dir")
67 #define RVP_RENAME RV_PROMPT("rename")
69 /* Number of entries to jump on RVK_JUMP_DOWN and RVK_JUMP_UP. */
70 #define RV_JUMP 10
72 /* Default listing view flags.
73 May include SHOW_FILES, SHOW_DIRS and SHOW_HIDDEN. */
74 #define RV_FLAGS SHOW_FILES | SHOW_DIRS
76 /* Optional macro to be executed when a batch operation finishes. */
77 #define RV_ALERT() beep()
79 /* Shell used to launch external programs.
80 Defining this macro will force Rover to launch external
81 programs with `sh -c "$EXTERNAL_PROGRAM [arg]"`. This gives more
82 flexibility, allowing command-line arguments to be embedded in
83 environment variables (e.g. PAGER="less -N"). On the other hand,
84 this requires the presence of a shell and will spawn an additional
85 process each time an external program is invoked. Leave this macro
86 undefined if you prefer external programs to be launched with just
87 `$EXTERNAL_PROGRAM [arg]`. */
88 #define RV_SHELL "/bin/sh"