cex

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

config.def.h (1732B)


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