cex

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

config.def.h (1604B)


      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 
     12 #define KEY_QUIT 'q'
     13 #define KEY_VUP 'k'
     14 #define KEY_VDOWN 'j'
     15 #define KEY_VPUP 'K'
     16 #define KEY_VPDOWN 'J'
     17 #define KEY_VLEFT 'h'
     18 #define KEY_VRIGHT 'l'
     19 #define KEY_VRIGHT_ABS 'L'
     20 #define KEY_BOT 'G'
     21 #define KEY_NEXT_SEARCH 'n'
     22 #define KEY_PREV_SEARCH 'N'
     23 #define KEY_HIDE '.'
     24 #define KEY_SEL_FILE ' '
     25 #define KEY_CLEAR_SEL 'c'
     26 #define KEY_CLEAR_SEARCH 'C'
     27 #define KEY_MAKE_FILE 'f'
     28 #define KEY_RM_FILE 'D'
     29 #define KEY_RENAME_FILE 'r'
     30 #define KEY_CP_SEL 'p'
     31 #define KEY_RM_SEL 'd'
     32 #define KEY_MV_SEL 'M'
     33 #define KEY_SEARCH '/'
     34 
     35 #define KEY_COMBO_GO 'g'
     36 #define KEY_COMBO_GO_TOP 'g'
     37 #define KEY_COMBO_GO_HOME 'h'
     38 #define KEY_COMBO_GO_ACCESS 'a'
     39 
     40 #define KEY_COMBO_INF 'i'
     41 #define KEY_COMBO_INF_OPEN 'o'
     42 
     43 #define KEY_COMBO_OPEN 'o'
     44 #define KEY_COMBO_OPEN_EXEC 'x'
     45 #define KEY_COMBO_OPEN_NOHUP_XDG 'o'
     46 
     47 #define KEY_COMBO_MAKE 'm'
     48 #define KEY_COMBO_MAKE_FILE 'f'
     49 #define KEY_COMBO_MAKE_DIR 'd'
     50 #define KEY_COMBO_MAKE_MOD 'm'
     51 #define KEY_COMBO_MAKE_ACCESS 'a'
     52 #define KEY_COMBO_MAKE_OPEN_DEFAULT 'o'
     53 
     54 #define DIR_COLOR		COLOR_BLUE
     55 #define LN_COLOR		COLOR_CYAN
     56 #define INVALID_LN_COLOR	COLOR_RED
     57 #define SEARCH_MATCH_COLOR	COLOR_YELLOW
     58 #define TOP_TITLE_COLOR		COLOR_YELLOW
     59 #define BOT_TITLE_COUNT_COLOR	COLOR_BLUE
     60 #define BOT_TITLE_INFO_COLOR	COLOR_RED
     61 #define PROMPT_COLOR		COLOR_MAGENTA
     62 #define CHILDWIN_MESSAGE_COLOR	COLOR_MAGENTA
     63 #define MARK_SELECTED_COLOR	COLOR_GREEN
     64 
     65 #endif