Nothing Fancy File Manager
 All Classes
config.h
1 /*
2  * Copyright (C) 2012 by Mario St-Gelais
3  *
4  * This file is part of NFFM.
5  *
6  * NFFM is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * NFFM is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with NFFM. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef CONFIG_H
21 #define CONFIG_H
22 
23 /*
24  * When reaching the bottom of a directory or file list, going down again bring
25  * the cursor to the beginning of the list. If at the top and moving up again
26  * brings the cursor at the bottom of the list.
27  *
28  * Directories cannot be deleted if it contain other directories or files.
29  *
30  */
31 
32 #define NEXT_DIR 'j' /*Next dir or file down the list according to active pane*/
33 #define PREVIOUS_DIR 'k' /*Dir or file up the list according active pane*/
34 #define VIEW_FILES 'l' /*View files of current dir*/
35 #define PARENT_DIR 'h' /*Move one dir up the hierararchy*/
36 #define GOTO_DIR_NUMBER 'n' //n followed by the dir or file number
37 #define MOVE_PAGE_DOWN 'F' //Got that...
38 #define MOVE_PAGE_UP 'U' //Got that...
39 #define DELETE_FILE 'd' //Delete the file currently selected or the current directory.
40 #define DELETE_MARKED_FILE 'D' //Delete all the marked files.
41 #define MARK_FILE 'm' //Select multiple file for further acion.
42 #define MOVE_MARKED_FILE 'M' //Move marked file to selected folder.
43 #define HIDDEN_FILE '.' //Show or hide hidden files and directories.
44 #define OPEN_FILE 'o' //Open the selected file with preferred application
45 #define GOTO_HOME_DIR 'H' //Got to home user directory.
46 #define GOTO_ROOT_DIR '/' //Goto / directory.
47 #define CREATE_FILE 'c' //Create an empty file in current directory or create directory
48 #define RENAME_FILE 'r' //rename the selected file
49 #define SELECTBEGINWITH '^' //Select the files that begin with expression
50 #define SELECTWITHEXTENSION 'f' //Filter for files with given extension
51 #define FORMATTHOUSAND true //Display number with thousand separator
52 #define CONFIRMDELETEMANY true //Ask for confirmation of every file when deleting many files.
53 #define USECOLOR true //Whether or not you want color.
54 #define USELSCOLOR true //If USECOLOR, use LSCOLOR pls. I could implement sometging else...
55 #define DIRCOLOR 110 //The color for folder list
56 #define ARCHIVEANDCOMPRESS 'z' //tar plus gzip selected files.
57 #define SHOWKEYS '?' //Show help about navigation keys
58 
59 #endif /* CONFIG_H */