summaryrefslogtreecommitdiff
path: root/.config/readline
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-05 23:03:16 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-05 23:03:16 +0100
commitb5280c920e981bcc15656c1e340ed476868c09eb (patch)
tree8514542cb89464e4a08b6fcc421cf170bfa899a2 /.config/readline
parent326a18a91d5b95d6efe397d1e3f3260ad7ecb47f (diff)
readline: Make completions better
Diffstat (limited to '.config/readline')
-rw-r--r--.config/readline/inputrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/readline/inputrc b/.config/readline/inputrc
index 45010b1..8c5cb4d 100644
--- a/.config/readline/inputrc
+++ b/.config/readline/inputrc
@@ -9,6 +9,9 @@ set colored-completion-prefix on
# Treat hyphens and underscores the same in the context of completion
set completion-map-case on
+# Complete prefix and show choices on one tab
+set show-all-if-ambiguous on
+
$if editing-mode == vi
# Change cursor to a bar when in insert mode
set show-mode-in-prompt on