1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 17:25:23 +02:00
dotfiles/bash/inputrc
2013-09-16 15:13:17 +02:00

46 lines
1.5 KiB
Text
Executable file

################################################################################
# .inputrc -- my personal Readline configuration
# see https://github.com/hcartiaux/dotfiles
#
# Copyright (c) 2010 Sebastien Varrette <Sebastien.Varrette@uni.lu>
# Copyright (c) 2013 Hyacinthe Cartiaux <Hyacinthe.Cartiaux@uni.lu>
# _ _
# (_)_ __ _ __ _ _| |_ _ __ ___
# | | '_ \| '_ \| | | | __| '__/ __|
# _| | | | | |_) | |_| | |_| | | (__
# (_)_|_| |_| .__/ \__,_|\__|_| \___|
# |_|
################################################################################
# Resource
# - https://github.com/Falkor/dotfiles/blob/master/bash/.bashrc
# - https://github.com/rtomayko/dotfiles/blob/rtomayko/.inputrc
# do not bell on tab-completion
set bell-style bell
set expand-tilde off
set input-meta off
set convert-meta on
set output-meta off
set horizontal-scroll-mode off
set history-preserve-point on
set mark-directories on
set mark-symlinked-directories on
set match-hidden-files off
# completion settings
set page-completions off
set completion-query-items 2000
set completion-ignore-case off
set show-all-if-ambiguous on
set show-all-if-unmodified on
set completion-prefix-display-length 10
set print-completions-horizontally off
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word