Skip to content

Commit

Permalink
SAFETY_BACKUP_Tue Dec 20 07:17:15 AM EST 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Dec 20, 2022
1 parent ac94d6b commit a5c046f
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
49 changes: 49 additions & 0 deletions bash/inputrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

################################################################################
# do not bell on tab-completion
set completion-display-width 0
set page-completions off
set bell-style none
set meta-flag on
set input-meta on
set convert-meta off
set output-meta on
set colored-stats on
set colored-completion-prefix on
set mark-modified-lines on
#set visible-stats on
set completion-map-case on
set completion-query-items 300
set editing-mode vi
set show-mode-in-prompt on
set vi-ins-mode-string \1\e[6 q\2
set vi-cmd-mode-string \1\e[2 q\2

set keyseq-timeout 10

################################################################################
$if mode=emacs
# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[7~": beginning-of-line
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# for rxvt
"\e[8~": end-of-line
# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
"\eOH": beginning-of-line
"\eOF": end-of-line
# for freebsd console
"\e[H": beginning-of-line
"\e[F": end-of-line
$endif

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a5c046f

Please sign in to comment.