summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/readline/inputrc16
1 files changed, 6 insertions, 10 deletions
diff --git a/.config/readline/inputrc b/.config/readline/inputrc
index fdb5cdf..e663e57 100644
--- a/.config/readline/inputrc
+++ b/.config/readline/inputrc
@@ -1,14 +1,10 @@
set bell-style none
-set editing-mode vi
-set completion-ignore-case on
+set editing-mode emacs
# Colored completions
set colored-stats on
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
@@ -27,15 +23,15 @@ $if editing-mode == vi
$endif
$if Bash
- C-p: "| $PAGER"
+ $if editing-mode == vi
+ C-p: "| $PAGER"
+ C-t: reverse-search-history
+ $endif
C-o: "./..."
-
- # Since <C-r> is bound to ‘forward-search-history’
- C-t: reverse-search-history
$endif
set keymap vi-command
€: end-of-line
set keymap vi-insert
-C-l: clear-screen
+C-l: clear-screen \ No newline at end of file