-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.eg
75 lines (64 loc) · 2.43 KB
/
config.eg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Sample qemacs config file
//
// copy it in ~/.qe/config
//
// You can call any Qemacs command with a C like syntax.
//
// underscores can be used in command names instead of dash.
//
// simple key definition
// C-key : Control + key
// M-key : Meta + key
// Read util.c to get all the key names
global_set_key("C-x s", "set-style");
global_set_key("C-c s s", "cscope-find-symbol");
global_set_key("C-c s g", "cscope-find-global-definition");
global_set_key("C-c s c", "cscope-find-function-calling-this-function");
global_set_key("C-c s i", "cscope-find-#including-file");
global_set_key("C-c s f", "cscope-find-file");
global_set_key("C-c s p", "cscope-find-string");
global_set_key("C-c s u", "cscope-pop-mark");
global-set-tab-width(8);
global-set-indent-width(8);
global-set-indent-tabs-mode(1);
global-set-line-num-mode(1);
global-set-highlight-over-margin-mode(100);
global-set-margin-size(100);
//global-set-backup-directory("/home/hchauhan/hoebackups");
// set X11 display size
set_display_size(80, 50);
// set default input method
//set_input_method("HebrewIsraeli");
// set X11 fonts and fall backs
set_system_font("fixed", "fixed,unifont");
set_system_font("sans", "helvetica,unifont");
set_system_font("serif", "times,unifont");
// simple styles
set_style("mode-line", "background-color", "green");
set_style("mode-line", "color", "white");
set_style("default", "background-color", "white");
set_style("default", "color", "black");
set_style("minibuf", "color", "black");
set_style("status", "color", "black");
set_style("comment", "font-family", "sans");
set_style("comment", "font-size", "12");
set_style("comment", "font-style", "italic");
set_style("comment", "color", "maroon");
set_style("preprocess", "color", "magenta");
set_style("string", "color", "red");
set_style("keyword", "font-family", "serif");
set_style("keyword", "font-size", "18");
set_style("keyword", "color", "green");
set_style("type", "font-family", "serif");
set_style("type", "font-size", "18");
set_style("type", "color", "purple");
set_style("function", "font-family", "serif");
set_style("function", "font-size", "18");
set_style("function", "font-weight", "bold");
set_style("function", "color", "blue");
set_style("variable", "font-family", "serif");
set_style("variable", "font-size", "18");
set_style("variable", "font-weight", "bold");
set_style("variable", "color", "fuchsia");
set_style("selection", "color", "white");
set_style("selection", "background-color", "black");