aboutsummaryrefslogtreecommitdiff
path: root/TMV/.config/inputrc
diff options
context:
space:
mode:
authorMasfehico <clyhtsuriva@gmail.com>2020-08-16 20:36:25 +0200
committerMasfehico <clyhtsuriva@gmail.com>2020-08-16 20:36:25 +0200
commit9016ff7bfff6a1205c5ff9b09edbfe46596ecfe1 (patch)
treebe5ed64d54e0b0b7c99d6ddf8af9a100dff38ee8 /TMV/.config/inputrc
parente7fe4b4330b6c4c7a993b1ca93ae466a65170bec (diff)
Update of bashrc and aliasrc
I moved all of my aliases from bashrc to aliasrc and fixed aliasrc which lacked the alias command due to careless recent changes.
Diffstat (limited to 'TMV/.config/inputrc')
-rw-r--r--TMV/.config/inputrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/TMV/.config/inputrc b/TMV/.config/inputrc
new file mode 100644
index 0000000..f9b94dd
--- /dev/null
+++ b/TMV/.config/inputrc
@@ -0,0 +1,19 @@
+$include /etc/inputrc
+set editing-mode vi
+$if 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
+
+set keymap vi-command
+# these are for vi-command mode
+Control-l: clear-screen
+Control-a: beginning-of-line
+
+set keymap vi-insert
+# these are for vi-insert mode
+Control-l: clear-screen
+Control-a: beginning-of-line
+
+$endif