diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-11-16 18:06:41 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-11-16 18:06:41 -0500 |
| commit | cba0fcc03d9cbab623eae419d308c5b1f7c1b193 (patch) | |
| tree | d2fe9b76a7d323fb21605bb2e26298c37399832b /.config/shell/inputrc | |
| parent | 3215e7b4bb25f04db9caa4677caf32899de3e4c9 (diff) | |
| download | eibhear-cba0fcc03d9cbab623eae419d308c5b1f7c1b193.tar.gz eibhear-cba0fcc03d9cbab623eae419d308c5b1f7c1b193.tar.zst eibhear-cba0fcc03d9cbab623eae419d308c5b1f7c1b193.zip | |
old stuff removed
many files renamed, possible breakage
Diffstat (limited to '.config/shell/inputrc')
| -rw-r--r-- | .config/shell/inputrc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/shell/inputrc b/.config/shell/inputrc new file mode 100644 index 0000000..f9b94dd --- /dev/null +++ b/.config/shell/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 |
