cex

C/Curses file EXplorer
git clone git://git.wimdupont.com/cex.git
Log | Files | Refs | README | LICENSE

config.def.h (1665B)


      1 #ifndef CONFIG_H
      2 #define CONFIG_H
      3 
      4 #define DEFAULT_HIDE TRUE
      5 #define SIZE_DECIMAL_FORMAT FALSE
      6 #define MIME_MAX 255
      7 #define MIME_APP_MAX 255
      8 #define BORDER_SPACE_SIZE 2
      9 #define SEARCHLEN 20
     10 #define LN_ACCESS_DIR "$HOME/access"
     11 #define USE_SUDO_COMMANDS 1
     12 
     13 #define KEY_QUIT 'q'
     14 #define KEY_VUP 'k'
     15 #define KEY_VDOWN 'j'
     16 #define KEY_VPUP 'K'
     17 #define KEY_VPDOWN 'J'
     18 #define KEY_VLEFT 'h'
     19 #define KEY_VRIGHT 'l'
     20 #define KEY_VRIGHT_ABS 'L'
     21 #define KEY_BOT 'G'
     22 #define KEY_NEXT_SEARCH 'n'
     23 #define KEY_PREV_SEARCH 'N'
     24 #define KEY_HIDE '.'
     25 #define KEY_SEL_FILE ' '
     26 #define KEY_CLEAR_SEL 'c'
     27 #define KEY_CLEAR_SEARCH 'C'
     28 #define KEY_MAKE_FILE 'f'
     29 #define KEY_RM_FILE 'D'
     30 #define KEY_RENAME_FILE 'r'
     31 #define KEY_CP_SEL 'p'
     32 #define KEY_RM_SEL 'd'
     33 #define KEY_MV_SEL 'M'
     34 #define KEY_SEARCH '/'
     35 
     36 #define KEY_COMBO_GO 'g'
     37 #define KEY_COMBO_GO_TOP 'g'
     38 #define KEY_COMBO_GO_HOME 'h'
     39 #define KEY_COMBO_GO_ACCESS 'a'
     40 
     41 #define KEY_COMBO_INF 'i'
     42 #define KEY_COMBO_INF_OPEN 'o'
     43 
     44 #define KEY_COMBO_OPEN 'o'
     45 #define KEY_COMBO_OPEN_EXEC 'x'
     46 #define KEY_COMBO_OPEN_NOHUP_XDG 'o'
     47 
     48 #define KEY_COMBO_MAKE 'm'
     49 #define KEY_COMBO_MAKE_FILE 'f'
     50 #define KEY_COMBO_MAKE_DIR 'd'
     51 #define KEY_COMBO_MAKE_MOD 'm'
     52 #define KEY_COMBO_MAKE_CHOWN 'c'
     53 #define KEY_COMBO_MAKE_ACCESS 'a'
     54 #define KEY_COMBO_MAKE_OPEN_DEFAULT 'o'
     55 
     56 #define DIR_COLOR		COLOR_BLUE
     57 #define LN_COLOR		COLOR_CYAN
     58 #define INVALID_LN_COLOR	COLOR_RED
     59 #define SEARCH_MATCH_COLOR	COLOR_YELLOW
     60 #define TOP_TITLE_COLOR		COLOR_YELLOW
     61 #define BOT_TITLE_COUNT_COLOR	COLOR_BLUE
     62 #define BOT_TITLE_INFO_COLOR	COLOR_RED
     63 #define PROMPT_COLOR		COLOR_MAGENTA
     64 #define CHILDWIN_MESSAGE_COLOR	COLOR_MAGENTA
     65 #define MARK_SELECTED_COLOR	COLOR_GREEN
     66 
     67 #endif