-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathconfig.h
142 lines (94 loc) · 2.77 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#ifndef CONFIG
#define CONFIG
/*
cfiles settings
*/
// Set to 1 if you want to see hidden files on startup
#define SHOW_HIDDEN 0
// Set to 0 if you want to disable borders
#define SHOW_BORDERS 1
// Set to 0 if you don't want to see number of selected files in the statusbar
#define SHOW_SELECTION_COUNT 1
// Set to 0 if you don't want to see PDF Previews
#define SHOW_PDF_PREVIEWS 0
// Program used to open non-text file (Eg: `xdg-open` or `thunar`)
#define FILE_OPENER "xdg-open"
// Display Image Script
#define DISPLAYIMG "/usr/share/cfiles/scripts/displayimg_uberzug"
// Clear Image Preview Script
#define CLEARIMG "/usr/share/cfiles/scripts/clearimg_uberzug"
/*
Color Settings
*/
// Shell Color Number to use for directories
#define DIR_COLOR 4
// Shell Color Number to use for file count which is displayed in the statusbar
#define STATUS_FILECOUNT_COLOR 1
// Shell Color Number to use for selected file which is displayed in the statusbar
#define STATUS_SELECTED_COLOR 6
/*
Change your keybindings in this section
*/
// Go up
#define KEY_NAVUP 'k'
// Go down
#define KEY_NAVDOWN 'j'
// Go to next directory / Open file
#define KEY_NAVNEXT 'l'
// Go to parent directory
#define KEY_NAVBACK 'h'
// Go to the end of the current directory
#define KEY_GOEND 'G'
// Go to the start of the current directory
#define KEY_START 'g'
// Go to the top of the current view
#define KEY_TOP 'H'
// Go to the middle of the current view
#define KEY_MID 'M'
// Go to the bottom of the current view
#define KEY_BOTTOM 'L'
// Search all files with current directory as base
#define KEY_SEARCHALL 'F'
// Search all files within the current directory
#define KEY_SEARCHDIR 'f'
// Add file to selection list
#define KEY_SEL ' '
// View all the selected files
#define KEY_VIEWSEL '\t'
// Edit the selection list
#define KEY_EDITSEL 'e'
// Empty the selection list
#define KEY_EMPTYSEL 'u'
// Copy files in selection list to the current directory
#define KEY_YANK 'y'
// Move files in selection list to the current directory
#define KEY_MV 'v'
// Rename files in selection list
#define KEY_RENAME 'a'
// For getting an option to either move the file to trash or delete it
#define KEY_REMOVEMENU 'd'
// For moving the file to trash after pressing KEY_REMOVEMENU
#define KEY_TRASH 'd'
// For removing the file after pressing KEY_REMOVEMENU
#define KEY_DELETE 'D'
// View file info
#define KEY_INFO 'i'
// Open Shell
#define KEY_SHELL 'S'
// Toggle Hidden Files
#define KEY_TOGGLEHIDE '.'
// Toggle Borders
#define KEY_TOGGLEBORDERS 'b'
// Bookmarks Key
#define KEY_BOOKMARK '\''
// Add Bookmark Key
#define KEY_ADDBOOKMARK 'm'
// Edit Bookmark Key
#define KEY_RMBOOKMARK 'E'
// External Scripts Key
#define KEY_SCRIPT 'p'
// View preview
#define KEY_PREVIEW 'I'
// Reload
#define KEY_RELOAD 'r'
#endif