My Emacs Cheatsheet

I’ve been taking a look at emacs – this is my brain dump so far – mainly taken from the in-built tutorial

Navigation
Move forward a page Ctrl+v
Move backward a page Meta+v
Move to next line Ctrl+n
Move to previous line Ctrl+p
Move backward a character Ctrl+b
Move forward a character Ctrl+f
Move backward a word Meta+b
Move forward a word Meta+f
Move to start of document Meta+lt;
Move 10 lines down Ctrl+u 10 Ctrl+n
Move to start of line Ctrl+a
Move to end of line Ctrl+e
Move to start of sentence Meta+a
Move to end of sentence Meta+e
Text Entry
Inserts 8x * Ctrl+u 8 *
Undo Ctrl+/
delete next character after cursor Ctrl+d
delete next word before cursor Meta+Del
delete next word after cursor Meta+d
delete from cursor position to eol Ctrl+k
delete from cursor to end of current sentence Meta+k
start selection Ctrl+Space
kill text in selection/line Ctrl+k
reinsert killed text (yanking) Ctrl+y
Window Management
Kill all other windows Ctrl+x 1
Save a file Ctrl+x Ctrl+s
Save some buffers Ctrl+x s
Quit Ctrl+x Ctrl+c
Find a file Ctrl+x Ctrl+f
suspend process Ctrl+z
bring suspended process back fg or %emacs
switch cursor to open buffer Ctrl+x o
Help Ctrl+h ?
Close bottom window Ctrl+x 1
Stop a command Ctrl+g
Buffers
List buffers Ctrl+x Ctrl+b
close buffer Ctrl+x 1
switch to buffer Ctrl+x b BUFFER_NAME
Ctrl+x 2 open second buffer with same file
Ctrl+Meta+v scroll bottom window
Ctrl+x 4 Ctrl+f open specified file in new window
Searching
Incremental Search Ctrl+s
Search backwards Ctrl+r
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
This entry was posted in Uncategorized. Bookmark the permalink.