-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.cpp
36 lines (33 loc) · 847 Bytes
/
config.cpp
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
nmap('h', "cursor left");
nmap('l', "cursor right");
nmap('k', "cursor up");
nmap('j', "cursor down");
nmap(KEY_LEFT, "cursor left");
nmap(KEY_RIGHT, "cursor right");
nmap(KEY_UP, "cursor up");
nmap(KEY_DOWN, "cursor down");
imap(KEY_LEFT, "cursor left");
imap(KEY_RIGHT, "cursor right");
imap(KEY_UP, "cursor up");
imap(KEY_DOWN, "cursor down");
map(CTRL('L'), "refresh");
nmap('i', "mode insert");
nmap(':', "mode command");
imap(127, "misc i:backspace");
cmap(127, "misc c:backspace");
map(27, "misc escape");
cmap('\n', "misc c:return");
nmap(339, "page up");
nmap(338, "page down");
imap(339, "page up");
imap(338, "page down");
nmap(21, "halfpage up");
nmap(4, "halfpage down");
imap(21, "halfpage up");
imap(4, "halfpage down");
nmap('0', "n_0");
nmap('$', "n_$");
nmap('i', "n_i");
nmap('a', "n_a");
nmap('I', "n_I");
nmap('A', "n_A");