view rc/inputrc @ 657:91d7c2e5936c

Remove need to manually switch directory with sud
author nanaya <me@nanaya.pro>
date Sun, 25 Jul 2021 21:36:52 +0900
parents 485c0f09d01f
children 1d8596cf49bc
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

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