aboutsummaryrefslogtreecommitdiff
path: root/files/rcs/.inputrc
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-12-16 19:05:17 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-12-16 19:05:17 +0100
commit7217cc755b7ade78765c764429f1046a522f2a7d (patch)
treeea4d8361c0430d9ddab45517b148645c2a8ecbb0 /files/rcs/.inputrc
parentb2797295cf06f27aaa4d3c0583347e02eb102688 (diff)
downloadconfigs-7217cc755b7ade78765c764429f1046a522f2a7d.tar.gz
configs-7217cc755b7ade78765c764429f1046a522f2a7d.zip
Bash input mode cursor shape.
Diffstat (limited to 'files/rcs/.inputrc')
-rw-r--r--files/rcs/.inputrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/files/rcs/.inputrc b/files/rcs/.inputrc
index 83e3a28..202ca16 100644
--- a/files/rcs/.inputrc
+++ b/files/rcs/.inputrc
@@ -5,6 +5,9 @@ set bell-style none
# Set vi editing mode
set 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
# Shows all possible matches the first time TAB is pressed instead of beeping.
set show-all-if-ambiguous on