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
|
%buf_funcname = (
'BUF:PREV', 'buffer_prev',
'BUF:NEXT', 'buffer_next',
'BUF:DELETE', 'buffer_delete',
'BUF:GO', 'buffer_go',
);
%lineedit_funcname = (
'LINEEDIT:FORWARD', 'lineedit_forward',
'LINEEDIT:BACK', 'lineedit_back',
'LINEEDIT:BS', 'lineedit_backspace',
'LINEEDIT:DEL', 'lineedit_delete',
'LINEEDIT:KILL_AFTER', 'lineedit_kill_after',
'LINEEDIT:KILL_BEFORE', 'lineedit_kill_before',
'LINEEDIT:TOP', 'lineedit_top',
'LINEEDIT:BOTTOM', 'lineedit_bottom',
'LINEEDIT:PREV', 'lineedit_prev',
'LINEEDIT:NEXT', 'lineedit_next',
'LINEEDIT:EDITOR', 'lineedit_editor',
'LINEEDIT:COMPLETE', 'lineedit_complete',
'LINEEDIT:ACCEPT', 'lineedit_accept',
);
%buf_keyfunc = (
'k', 'BUF:PREV',
'C-p', 'BUF:PREV',
'j', 'BUF:NEXT',
'C-n', 'BUF:NEXT',
'D', 'BUF:DELETE',
'RET', 'BUF:GO'
);
%lineedit_keyfunc = (
'C-f', 'LINEEDIT:FORWARD',
'C-b', 'LINEEDIT:BACK',
'C-h', 'LINEEDIT:BS',
'C-d', 'LINEEDIT:DEL',
'C-k', 'LINEEDIT:KILL_AFTER',
'C-u', 'LINEEDIT:KILL_BEFORE',
'C-a', 'LINEEDIT:TOP',
'C-e', 'LINEEDIT:BOTTOM',
'C-p', 'LINEEDIT:PREV',
'C-n', 'LINEEDIT:NEXT',
'C-o', 'LINEEDIT:EDITOR',
'TAB', 'LINEEDIT:COMPLETE',
'SPC', 'LINEEDIT:COMPLETE',
'RET', 'LINEEDIT:ACCEPT'
);
1;
|