view rc/inputrc @ 678:12fe76be3071

[inputrc] Reenable the kill line fix until fixed reline is released
author nanaya <me@nanaya.pro>
date Mon, 11 Apr 2022 22:58:30 +0900
parents 9713ac597983
children 07542066867e
line wrap: on
line source

#Basic settings
set bell-style none
set keymap emacs

# automatically append / to symlinked directories
set mark-symlinked-directories on

#Home/End
#GNOME Terminal
"\eOH": beginning-of-line
"\eOF": end-of-line
#tmux
"\e[1~": beginning-of-line
"\e[4~": end-of-line

#Delete
"\e[3~": delete-char

#Alt-Left/Right
#GNOME Terminal
"\e[1;3D": backward-word
"\e[1;3C": forward-word
#tmux
"\e\e[D": backward-word
"\e\e[C": forward-word

#Up/Down
"\e[A": history-search-backward
"\e[B": history-search-forward
#GNOME Terminal
"\eOA": history-search-backward
"\eOB": history-search-forward

$if Ruby
# Eventually remove this bug workaround
# Reference: https://github.com/ruby/reline/pull/416/files
"\C-u": unix-line-discard
$endif