In bash windows using the Terminal.app on OS X Lion, I can no longer use ctrl + A as a shortcut for going to the start of the command line. Other ctrl characters like ctrl + E don't work any longer either.
Any ideas?
|
In bash windows using the Terminal.app on OS X Lion, I can no longer use ctrl + A as a shortcut for going to the start of the command line. Other ctrl characters like ctrl + E don't work any longer either. Any ideas? |
||||
|
|
|
^A and ^E are commands of bashs "emacs mode". Check your bash settings with
and verify that |
|||||
|
|
Check to see the keyboard settings of your current theme. Terminal > Preferences > Settings > Keyboard. If you don't see what you want in there try making a new theme to see if it works |
|||||||||
|
|
If you want your setting to persist between sessions, add the following to your ~/.profile.
Of course, you should only add one of those two, depending on your preferred editing mode. |
|||
|
|