1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-23 18:44:20 +03:00
tabby/extras/clink/clink_inputrc_base
2018-09-23 15:38:57 +02:00

73 lines
2.0 KiB
Plaintext

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