FreeBSD: Customize Home, Del, Insert keys for BASH shell
Creating the /etc/inputrc File
Readline and inputrc
How do I convert inputrc settings to bashrc ones?
The
/etc/inputrc
file deals with mapping the keyboard for specific situations. This file is the start-up file used byreadline
, the GNU command line editing library used byBash
,perl
and most other open source programs.
# vi /etc/profile export INPUTRC=/usr/local/etc/inputrc # vi /usr/local/etc/inputrc set meta-flag on set input-meta on set convert-meta off set output-meta on "\e[1~": beginning-of-line "\e[4~": end-of-line "\e[5~": beginning-of-history "\e[6~": end-of-history "\e[3~": delete-char "\e[2~": quoted-insert "\e[5C": forward-word "\e[5D": backward-word
Pingback: FreeBSD 10 & vim | Andreas' Blog
Pingback: FreeBSD 12 on Samsung NP300E5A | Andreas' Blog