2024-03-16 21:37:56 +01:00
|
|
|
/* Settings */
|
|
|
|
#define PH 1 /* panel height */
|
|
|
|
#define JUMP_NUM 14 /* how long ctrl + u/d jump are */
|
2024-03-19 23:07:05 +01:00
|
|
|
#define PATH_MAX 4096
|
2024-03-16 21:37:56 +01:00
|
|
|
|
2024-03-17 11:09:22 +01:00
|
|
|
/* Calculate directories' sizes RECURSIVELY upon entering? */
|
2024-03-16 21:37:56 +01:00
|
|
|
#define DIRS_SIZE false
|
|
|
|
|
2024-03-17 13:28:27 +01:00
|
|
|
#define DRAW_BORDERS true /* Draw borders around windows? */
|
|
|
|
#define DRAW_PREVIEW true /* Draw file preview? */
|
|
|
|
|
|
|
|
/* set width offset for windows:
|
|
|
|
+-------------%-------------+
|
|
|
|
| % |
|
|
|
|
| files % preview |
|
|
|
|
| % |
|
|
|
|
+=============%=============+
|
|
|
|
set where the % line between them resides
|
|
|
|
|
|
|
|
In COLS:
|
|
|
|
0 will make them equal (at the center),
|
|
|
|
15 will make files bigger
|
|
|
|
-15 will make preview bigger */
|
|
|
|
#define WINDOW_OFFSET 0
|
|
|
|
|
2024-03-16 21:37:56 +01:00
|
|
|
/* Default text editor */
|
|
|
|
#define EDITOR "nvim"
|
|
|
|
|
2024-03-19 23:07:05 +01:00
|
|
|
/* File location to write last directory */
|
|
|
|
#define LAST_D "~/.cache/ccc/.ccc_d"
|
|
|
|
|
2024-03-16 21:37:56 +01:00
|
|
|
/* Keybindings */
|
2024-03-14 20:47:46 +01:00
|
|
|
#define CTRLD 0x04
|
2024-03-15 12:51:58 +01:00
|
|
|
#define ENTER 0xA
|
2024-03-14 20:47:46 +01:00
|
|
|
#define CTRLU 0x15
|
2024-03-15 12:51:58 +01:00
|
|
|
#define ESC 0x1B
|
2024-03-14 20:47:46 +01:00
|
|
|
#define SPACE 0x20
|
|
|
|
#define TILDE 0x7E
|
|
|
|
#define DOWN 0x102
|
|
|
|
#define UP 0x103
|
|
|
|
#define LEFT 0x104
|
|
|
|
#define RIGHT 0x105
|
|
|
|
#define BACKSPACE 0x107
|