From 416f9c33fb3e4605b3537ea296e8a02cf6156da8 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 25 Apr 2023 15:39:16 +0200 Subject: Update .inputrc with more functionalities --- .inputrc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.inputrc b/.inputrc index bf16a0c..38e3216 100644 --- a/.inputrc +++ b/.inputrc @@ -1,7 +1,20 @@ -set completion-ignore-case on +# https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File-Syntax.html +set colored-stats on set show-all-if-ambiguous on +# Ignore case and -/_ on completion +set completion-ignore-case on +set completion-map-case on + +# completed directory names have a slash appended +set mark-directories on +set mark-symlinked-directories on + # Use the text that has already been typed as the prefix for searching through # commands (i.e. more intelligent Up/Down behavior) "\e[B": history-search-forward "\e[A": history-search-backward + +# Use CTRL+b and CTRL+f to move words rather than the default characters +"\C-b": backward-word +"\C-f": forward-word -- cgit v1.2.3