summaryrefslogtreecommitdiff
path: root/.config/readline
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-01 19:33:36 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-01 19:34:29 +0100
commit75e6d9446c92acd6f4b38b23f716a28b6a33bef2 (patch)
tree9f605435a8bda1a24c3fda4d7860a115eff7d882 /.config/readline
parent5aea542c00c34a351cbd954cc23ae81149358c80 (diff)
readline: Map € to $
Diffstat (limited to '.config/readline')
-rw-r--r--.config/readline/inputrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/.config/readline/inputrc b/.config/readline/inputrc
index 89bead7..45010b1 100644
--- a/.config/readline/inputrc
+++ b/.config/readline/inputrc
@@ -14,9 +14,6 @@ $if editing-mode == vi
set show-mode-in-prompt on
set vi-ins-mode-string "\1\e[6 q\2"
set vi-cmd-mode-string "\1\e[2 q\2"
-
- # Bring back this binding from Emacs mode
- C-l: clear-screen
$endif
$if Bash
@@ -25,3 +22,9 @@ $if Bash
# 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