.config.hhvn.h (1840B)
1 static char *plumber = "plumb"; 2 static char *yanker = "xclip"; 3 static char *normsep = "│"; 4 static char *toolong = ">"; 5 static int parallelplumb = 1; 6 static int stimeout = 5; 7 static int regexflags = REG_ICASE|REG_EXTENDED; 8 static int autotls = 1; 9 static int mdhilight = 1; 10 11 static short bar_pair[2] = {-1, 0}; 12 static short uri_pair[2] = {0, 7}; 13 static short cmd_pair[2] = {7, 0}; 14 static short arg_pair[2] = {-1, 0}; 15 static short err_pair[2] = {160, 0}; 16 static short eid_pair[2] = {4, -1}; 17 18 static Elem start_page[] = { 19 LINK('1', "hhvn.uk", "", "hhvn.uk", "70"), 20 LINK('1', "hlirc.net", "", "hlirc.net", "70"), 21 }; 22 23 enum Bindings { 24 BIND_URI = ':', 25 BIND_DISPLAY = '+', 26 BIND_SEARCH = '/', 27 BIND_SEARCH_BACK = '?', 28 BIND_APPEND = 'a', 29 BIND_YANK = 'y', 30 BIND_DOWN = 'j', 31 BIND_UP = 'k', 32 BIND_QUIT = 'q', 33 BIND_BACK = 'H', 34 BIND_RELOAD = '*', 35 BIND_TOP = 'g', 36 BIND_BOTTOM = 'G', 37 BIND_SEARCH_NEXT = 'n', 38 BIND_SEARCH_PREV = 'N', 39 BIND_ROOT = 'r', 40 BIND_HELP = 'z', 41 BIND_HISTORY = 'h', 42 }; 43 44 static Scheme scheme[] = { 45 /* type, name, fg */ 46 {'i', " ", -1 }, 47 {'0', "Text", 4 }, 48 {'1', "Dir ", 5 }, 49 {'2', "CCSO", 6 }, 50 {'4', "Bin ", 10 }, 51 {'5', "Bin ", 10 }, 52 {'9', "Bin ", 10 }, 53 {'7', "Srch", 6 }, 54 {'8', "Teln", 5 }, 55 {'T', "Teln", 5 }, 56 {'+', "Alt ", 9 }, 57 {'I', "Img ", 13 }, 58 {'g', "Img ", 13 }, 59 {'h', "HTML", 9 }, 60 {EXTR, "Extr", 9 }, 61 {'s', "Snd ", 13 }, 62 {'d', "Doc ", 15 }, 63 {'3', "ERR ", 8 }, 64 65 /* Experimental markdown header hilighting. 66 * mdhilight must be set for this to show. 67 * Unlike other elements of scheme, the fore- 68 * ground is used for the text itself, not 69 * the name. */ 70 {MDH1, " ", 7 }, 71 {MDH2, " ", 6 }, 72 {MDH3, " ", 5 }, 73 {MDH4, " ", 4 }, 74 75 /* must be last, see getscheme() */ 76 {DEFL, "????", 8 }, 77 };