summaryrefslogtreecommitdiffstats
path: root/.inputrc
diff options
context:
space:
mode:
Diffstat (limited to '.inputrc')
-rw-r--r--.inputrc15
1 files changed, 14 insertions, 1 deletions
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