Timeline for Make Bash's vi-mode default to "normal" Vi mode (not "insert"), and place cursor at start of line, mimicking KornShell
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 30, 2021 at 18:35 | vote | accept | Kusalananda♦ | ||
| May 6, 2020 at 15:06 | comment | added | 00prometheus |
I can't upvote this enough! I got rid of the emacs stuff and I only need the "jk" shortcut, I don't need "kj", so I simply have: set editing-mode vi set vi-ins-mode-string \1\e[6 q\2 set vi-cmd-mode-string \1\e[2 q\2 set keymap vi-insert "jk": vi-movement-mode and now I am happy!
|
|
| Dec 5, 2018 at 6:37 | history | edited | user232326 | CC BY-SA 4.0 |
Other solution.
|
| Nov 29, 2018 at 6:50 | history | edited | user232326 | CC BY-SA 4.0 |
added 12 characters in body
|
| Nov 29, 2018 at 6:42 | history | answered | user232326 | CC BY-SA 4.0 |