2013-05-02 23:39:51 +02:00
|
|
|
################################################################################
|
|
|
|
# .inputrc -- my personal Readline configuration
|
2013-09-16 15:13:17 +02:00
|
|
|
# see https://github.com/hcartiaux/dotfiles
|
2013-05-02 23:39:51 +02:00
|
|
|
#
|
|
|
|
# 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
|