Created
February 11, 2024 20:39
-
-
Save chadaustin/5affa51edc6b4d63080e1adffa30b9a7 to your computer and use it in GitHub Desktop.
readline configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on Cygwin /etc/skel/.inputrc | |
# the following line is actually | |
# equivalent to "\C-?": delete-char | |
"\e[3~": delete-char | |
# VT | |
"\e[1~": beginning-of-line | |
"\e[4~": end-of-line | |
# kvt | |
"\e[H": beginning-of-line | |
"\e[F": end-of-line | |
# rxvt and konsole (i.e. the KDE-app...) | |
"\e[7~": beginning-of-line | |
"\e[8~": end-of-line | |
# VT220 | |
"\eOH": beginning-of-line | |
"\eOF": end-of-line | |
# Completion up/down. | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
# TODO(chad): What was this? Is Readline UTF-8-aware? | |
# Allow 8-bit input/output | |
#set meta-flag on | |
#set convert-meta off | |
#set input-meta on | |
#set output-meta on | |
$if Bash | |
set blink-matching-paren on | |
set completion-ignore-case on | |
set show-all-if-ambiguous on | |
# Append "/" to all dirnames | |
set mark-directories on | |
set mark-symlinked-directories on | |
# Match all files | |
set match-hidden-files on | |
# Enable colors | |
set colored-completion-prefix on | |
set colored-stats on | |
$endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment