mksh: enable vi mode - dotfiles - arsenal of config files, ready to be cloned in new (virtual) machines.
HTML git clone git://git.drkhsh.at/dotfiles.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
---
DIR commit fa8d3c03bb87e91b80cb7a698fea45de745cc922
DIR parent a2c8b7be3bae167d9b87766c8442334fcc88db9a
HTML Author: drkhsh <me@drkhsh.at>
Date: Fri, 3 Feb 2023 02:58:08 +0100
mksh: enable vi mode
Diffstat:
M mksh/.mkshrc | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
DIR diff --git a/mksh/.mkshrc b/mksh/.mkshrc
@@ -4,12 +4,7 @@
# ██║╚██╔╝██║██╔═██╗ ╚════██║██╔══██║██╔══██╗██║
# ██║ ╚═╝ ██║██║ ██╗███████║██║ ██║██║ ██║╚██████╗
# ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝
-#
-# ██████████╗
-# █ author █║ drkhsh <me@drkhsh.at>
-# █ repo █║ https://git.drkhsh.at/dotfiles
-# ██████████║
-# ╚═════════╝
+# drkhsh <me@drkhsh.at>
# █▓▒░ source shared stuff
[[ -f ~/.functions ]] && source ~/.functions
@@ -30,6 +25,9 @@ if [[ -e ~/.mkshrc.local ]]; then
source ~/.mkshrc.local
fi
+# █▓▒░ vi mode
+set -o vi
+
# █▓▒░ prompt
if [[ -e ~/.mksh/polyglot/polyglot.sh ]]; then
source ~/.mksh/polyglot/polyglot.sh