5 ms·
A few tricks for vi beginners
- laex 11y agoLearned a new trick from this article - using VI from command shell. I've always found Ctrl + A & Ctrl + E to be limiting while editing commands on the shell.
- devnonymous 11y agoFor the cli, my muscle memory got used to Ctrl+A/Ctrl-E long before I heard of `set -o vi` and that made using the vi-mode in bash cumbersome, so I switched back. YMMV thought. That said, I learned about the `Ctrl+X+Ctrl-E` keybinding and the `fc` command and that has proved to be quite useful.
- blt 11y agoI've been feeling stuck in my vi skills recently... I know all the basics but I was expecting to be an editor wizard after about 5 years of use.