-
Notifications
You must be signed in to change notification settings - Fork 2
/
clink_inputrc_base
72 lines (62 loc) · 2.03 KB
/
clink_inputrc_base
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
set bell-style visible
set completion-ignore-case on
set completion-map-case on
set completion-display-width 106
set output-meta on
set skip-completed-text on
set convert-meta on
"\e`s": backward-word # ctrl-left
"\e`t": forward-word # ctrl-right
"\e`O": end-of-line # end
"\e`G": beginning-of-line # home
"\e`S": delete-char # del
"\e`c": page-up # shift page-up
"\e`u": kill-line # ctrl+end
"\e`w": backward-kill-line # ctrl+home
"\e`I": history-search-backward # page-up
"\e`Q": history-search-forward # page-down
set keymap emacs
"\t": clink-completion-shim
C-v: paste-from-clipboard
C-q: reload-lua-state
C-z: undo
M-h: show-rl-help
M-C-c: copy-line-to-clipboard
C-c: ctrl-c
M-a: "..\\"
set keymap vi-insert
"\t": clink-completion-shim
C-v: paste-from-clipboard
C-z: undo
M-h: show-rl-help
M-C-c: copy-line-to-clipboard
C-c: ctrl-c
M-a: "..\\"
set keymap vi-move
C-v: paste-from-clipboard
C-z: undo
M-h: show-rl-help
M-C-c: copy-line-to-clipboard
C-c: ctrl-c
M-a: "..\\"
$if cmd.exe
set keymap emacs
"\e`U": up-directory
M-C-u: up-directory
M-C-e: expand-env-vars
set keymap vi-insert
"\e`U": up-directory
M-C-u: up-directory
M-C-e: expand-env-vars
set keymap vi-move
"\e`U": up-directory
M-C-u: up-directory
M-C-e: expand-env-vars
$endif
set keymap emacs
# Uncomment these two lines for vanilla cmd.exe style completion.
# "\t": clink-menu-completion-shim
# "\e`Z": clink-backward-menu-completion-shim
$include ~/clink_inputrc
$include ~/_inputrc
$include ~/.inputrc