DEV Community

Discussion on: Ctrl+R Autocomplete with Bash is a Life Saver

Collapse
 
erikch profile image
Erik Hanchett

Great article! Ctrl -R is great!

I set up my command line to use vim like keybindings. You have to run this command first, or put it in your .zshrc or .bashrc.

set -o vi

To search I press the escape key then /. I can also go to the end of the command line by pressing ^, or the front by pressing $. I can delete words just like I'm in vim.