Home
Browse
Create
Search
Log in
Sign up
Upgrade to remove ads
Only $2.99/month
Emacs - tutorial
STUDY
Flashcards
Learn
Write
Spell
Test
PLAY
Match
Gravity
Emacs commands gleened from the Tutorial
Terms in this set (72)
Move forward one screenful
C-v
Move backward one screenful
M-v
Move screen down 5 lines
C-u 5 C-v
Move screen back 5 lines
C-u 5 M-v
Clear screen and redisplay all the text, moving the text around the cursor to the center of the screen.
C-l
Move forward a character
C-f
Move backward a character
C-b
Move forward a word
M-f
Move backward a word
M-b
Move to next line
C-n
Move to previous line
C-p
Move to beginning of line
C-a
Move to end of line
C-e
Move to beginning of buffer
M-<
Move to end of buffer
M->
Move to n/10 of buffer
C-u <n> M-<
Goto line n
M-g g
Repeat the following command a number of times
C-u <number> <command>
if no number is specified 4 is the default.
Moving the screen down 4 lines
C-u C-v
Move back to beginning of sentence
M-a
Move forward to end of sentence
M-e
Kill all open windows and make current window active
C-x 1
Cancel multipart command
C-g
Delete the character just before the cursor
<Delback>
Delete the next character after the cursor
C-d
Kill the word immediately before the cursor
M-<Delback>
Kill the next word after the cursor
M-d
Kill from the cursor position to end of line
C-k
Kill to the end of the current sentence
M-k
Marking text
C-<spc>
Adding a mark to the mark ring
C-<spc> C-<spc>
Restoring mark from mark ring
C-u C-<spc>
Killing text
C-w
Killing a line
C-k
Yanking text
C-y
Yanking previous text
M-y
use the M-y (yank-pop) command to cycle through the possibilities.
Kill a rectangle
C-x r k
Yank a rectangle
C-x r y
Undo
C-x u or C-_
Find and open file
C-x C-f
Save file
C-x C-s
Switch to buffer
C-x b
List buffers
C-x C-b
Kill buffer
C-x k
Suspend emacs session
C-z
Resume emacs
fg or %emacs
find and replace
M-x repl s<tab><return><find text><return><replace text>
restore autosaved file
M-x recover-file<return>
Compile
M-x compile
Finds the locations of compilation errors.
C-x `
Turn on autofill mode
M-x auto-fill-mode
Change margin
C-u <columns> C-x f
refill paragraph
M-q
Forward search
C-s
Repeat forward search
C-s
Reverse search
C-r
Repeat reverse search
C-r
Terminate search
C-g
Split screen
C-x 2
Switch to other screen
C-x o
Scroll minibuffer screen
C-M-v or <esc> C-v
Delete minibuffer screen
M-x delete-frame
Insert blank line
C-o
Delete blank line
C-x C-o
Add a bookmark
C-x r m <RET>
Set the bookmark named bookmark at point
C-x r m bookmark <RET>
List all bookmarks
C-x r l
Save all the current bookmark values in the default bookmark file.
M-x bookmark-save
Copy region into register r
C-x r s r
Insert text from register r
C-x r i r
Copy the region-rectangle into register r
C-x r r r
Insert the rectangle stored in register r
C-x r i r
THIS SET IS OFTEN IN FOLDERS WITH...
Basic Emacs - extended
68 terms
Basic Emacs
33 terms
EMACS
40 terms
Emacs
45 terms
YOU MIGHT ALSO LIKE...
CSE 15L Lecture 1
49 terms
COP3353 Test 1
50 terms
Keyboard Shortcuts 2
127 terms
Keyboard Shortcuts
25 terms