Added inputrc (readline configuration)

This commit is contained in:
Alexander Schmidt 2017-05-26 22:07:05 -05:00
parent 8ea144b6a1
commit 68b03492da
1 changed files with 32 additions and 0 deletions

32
.inputrc Normal file
View File

@ -0,0 +1,32 @@
# vim: fdm=marker
# inputrc
$include /etc/inputrc
set meta-flag on
set input-meta on
set output-meta on
set convert-meta on
set visible-stats on
set page-completions on
set completion-ignore-case on
set completion-query-items 200
set show-all-if-ambiguous on
set show-all-if-unmodified on
set echo-control-characters off
# vi-mode
set editing-mode vi
$if mode=vi
set keymap vi-command
"gg": beginning-of-history
"G": end-of-history
set keymap vi-insert
"\C-l": clear-screen
"\C-w": backward-kill-word
"\C-p": history-search-backward
"\C-n": history-search-forward
$endif