Navigating quickly in Bash terminal prompt

Submitted by Peter Majmesku on Sat, 02/02/2019 - 12:12

I find it very helpful to navigate by keyboard shortcuts in the Bash terminal. Also I am using the PHPStorm IDE on Mac. The navigate by word shortcurts do not work there out of the box in PHPStorm. Therefor the ~/.inputrc file needs to be edited by the following content (got that by this thread):


This are the commands which are helping me to speed up my workflow in the terminal:

CTRL + A = cursor jumps to begin of line
CTRL + E = cursor jumps to end of line
Option/alt + arrow left = cursor jumps one word back
Option/alt + arrow right = cursor jumps one word forward