0
Whenever I ssh to ec2 I notice that ctr+a (beginning of line), ctrl+e, and other navigation keys do not work in terminal.
Is there a way to set up my ec2 terminal so that I can use these navigation shortcut keys?
0
Whenever I ssh to ec2 I notice that ctr+a (beginning of line), ctrl+e, and other navigation keys do not work in terminal.
Is there a way to set up my ec2 terminal so that I can use these navigation shortcut keys?
1
In your ~/.profile or ~/.bashrc, include set -o emacs
to activate those keybindings.
1It depends on the editor you're using. Look up the keyboard shortcuts for it, whether it's nano, vi, etc. – cutrightjm – 2013-04-24T21:11:17.247