Posted by: rydow | June 23, 2007

Some emacs commands work in bash.

If you use bash and know your emacs commands you might have discovered that some of them work in bash. The ones I find most useful are:

  • C-k kill line
  • C-y yank killed line
  • C-a move cursor to beginning of line
  • C-e move cursor to end of line
  • M-d kill to end of word
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: