Live data from Hacker News

A few tricks for vi beginners

david.padilla.cc

1–4 of 4 posts

Re: A few tricks for vi beginners

#3
post #2

Learned 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.

For 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.