Learn Emacs!

Emacs is definitely worth learning if you haven’t looked at it already.  Even if you don’t use it as your primary editor, a bunch of the commands for movement/interaction come from the GNU readlines library, which is also used in bash (and possibly other shells?).

This means you get things like ctrl-a and -e for move to beginning/end of line, ctrl-k and -u to kill from cursor to the beginning/end of line, and ctrl-r to reverse search command history (many might know that last one without realizing it comes from readlines).  

Even cooler, you get the kill-ring in bash, so anything you kill with ctrl-k and other commands can be yanked back (pasted) using ctrl-y, and from there alt-y cycles through all previous kills.  Super handy.

My favorite resources are the tutorial within emacs itself, and the below places as well.

http://www.emacswiki.org/emacs/LearningEmacs

http://sachachua.com/blog/2013/05/how-to-learn-emacs-a-hand-drawn-one-pager-for-beginners/

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