On ec2 how do I use 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?

tlikarish

Posted 2013-04-24T21:02:10.370

Reputation: 3

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

Answers

1

In your ~/.profile or ~/.bashrc, include set -o emacs to activate those keybindings.

Aaron Miller

Posted 2013-04-24T21:02:10.370

Reputation: 8 849