tconfig.def.h - ve - a minimal text editor (work in progress)
(HTM) git clone git://src.adamsgaard.dk/ve
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tconfig.def.h (664B)
---
1 /* render tabs with this many characters */
2 static int tab_width = 4;
3
4 /* timeout for status messages in seconds */
5 static int status_message_timeout = 3;
6
7 /*
8 * modal cursor shape
9 * 2: block
10 * 4: underline
11 * 6: bar
12 */
13 /* static unsigned int cursorshape_normal = 2; */
14 /* static unsigned int cursorshape_insert = 6; */
15
16 /* leader key for bind sequences */
17 #define LEADER ' '
18
19 /*
20 * color settings for syntax highglighting
21 */
22 static const int colors[][3] = {
23 /* fg bg style */
24 [ColorNormal] = { 0, 0, 0 },
25 [ColorDigit] = { 1, 0, 0 },
26 [ColorComment] = { 2, 0, 0 },
27 [ColorKeyword] = { 3, 0, 0 },
28