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
  • 1
    It depends on the editor you're using. Look up the keyboard shortcuts for it, whether it's nano, vi, etc.
    – cutrightjm
    Apr 24, 2013 at 21:11

1 Answer 1

1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .