tabby/clink/clink_inputrc_base
Eugene Pankov 2377a8c522 clink
2017-05-11 22:56:48 +02:00

72 lines
2 KiB
Text

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