GNU Emacs keyboard shortcuts 

GNU Emacs    

Zeynel -
7 years ago
- Shortcuts
0
Ctrl + ♦ Meta + V

Scroll other window

0
Ctrl + ♦ Meta + C

Exit recursive edit

0
♦ Meta + ^

Join line with previous (with arg, next)

0
Ctrl + ♦ Meta + Q

Indent sexp (mode-dependent)

-1
♦ Meta + ;

Indent for comment

0
♦ Meta + Space

Put exactly one space at point

0
♦ Meta + Q

Fill paragraph

0
♦ Meta + U

Uppercase word

0
♦ Meta + L

Lowercase word

1
♦ Meta + C

Capitalize word

0
♦ Meta + H

Mark paragraph

0
♦ Meta + Y

Replace last yank with previous kill

0
♦ Meta + W

Copy region to kill ring

0
♦ Meta + Z

then press char to kill through next occurence of char

0
♦ Meta + K

Sentence - forward

0
♦ Meta + P

Select previous search string

0
♦ Meta + N

Select next later search string

0
♦ Meta + B

Word - backward

1
♦ Meta + F

Word - forward

1
♦ Meta + V

Scroll to previous screen

0
♦ Meta + A

Sentence - backward

0
♦ Meta + E

Sentence - forward

1
♦ Meta + {

Paragraph - backward

0
♦ Meta + }

Paragraph - forward

0
♦ Meta + M

Back to indentation

0
♦ Meta + Del

Word - backward

0
♦ Meta + D

Word - forward

0
♦ Meta + T

Transpose words

0
♦ Meta + P

Fetch previous minibuffer input

0
♦ Meta + N

Fetch later minibuffer input or default

-1
♦ Meta + R

Regexp search backward through history

0
♦ Meta + S

Regexp search forward through history

0
♦ Meta + O

Set face

0
♦ Meta + !

Execute a shell command

0
♦ Meta + &

Execute a shell command asynchronously

0
I

Look up a subject in the indices

0
Ctrl + K

Line (to end of) - forward

1
Ctrl + _

Undo an unwanted change

0
Ctrl + Space

Set mark here

0
^

Back up to the previous match

0
♦ Meta + X

then type revert-buffer to restore a buffer to its original contents

0
♦ Meta + X

then type recover-session to recover files lost by a system crash

0
♦ Meta + X

(then load-library) load a Lisp library from load-path

0
♦ Meta + X

(then eval-region) Eval region

0
♦ Meta + X

(then name-last-kbd-macro) name last keyboard macro

0
♦ Meta + X

(then insert-kbd-macro) Instert Lisp definition in buffer

0
♦ Meta + X

(then customize) Customize variables and faces

0
♦ Meta + X

(then type shell) Start a shell window *shell*

0
?

Show possible completions

0
♦ Meta + X

(then ispell-region) Check spelling of all words in region

0
♦ Meta + X

(then ispell-buffer) Check spelling of entire buffer

0
♦ Meta + X

(then flyspell-mode) Toggle on-the-fly spell checking

0
♦ Meta + X

(then visit-tags-table) Specify new tags file

0
♦ Meta + X

(then tags-search) Regexp search on all files in tags table

-1
♦ Meta + X

(then tags-query-replace) Run query-replace on all the files

0
Ctrl + T

Transpose characters

1
Tab

Complete as much as possible

0
Space

Complete up to one word

0
⤶ Enter

Complete and execute

Advertisement

0
Ctrl + G

Abort command

0
F10

Activate menu bar items in text terminals

0
F

Follow cross reference (return with 1)

0
L

Return to last node you saw

0
D

Return to directory node

0
T

Go to top node of Info file

0
G

Go to any node by name

0
H

Run info tutorial

0
Space

Scroll forward

0
Del

Scroll reverse

0
B

Beginning of node

0
N

Go to next node

0
P

Go to previous node

0
U

Move up

0
M

Select menu item by name

0
Ctrl + Q

then char: Quoted insert

0
S

Search nodes for regexp

0
Q

Quit Info

0
Ctrl + G

Abort partially typed or executing command

0
⤶ Enter

Exit incremental search

0
Del

Undo effect of last character

0
Ctrl + G

Abort current search

1
Ctrl + B

Character - backward

0
Ctrl + F

Character - forward

0
Ctrl + Z

Suspend or iconify Emacs

0
Del

Character (delete, not kill) - backward

0
Ctrl + D

Character (delete, not kill) - forward

0
Ctrl + S

Search forward

0
Ctrl + R

Search backward

0
Ctrl + N

Line - forward

0
Ctrl + A

Go to line beginning

0
Ctrl + E

Go to line ending

0
Ctrl + V

Scroll to next screen

0
⤶ Enter

Exit query-replace

0
Ctrl + R

Enter recursive edit

0
Tab

Indent current line (mode-dependent)

0
Ctrl + Y

Yank back last thing killed

0
Ctrl + W

Kill region

0
Space

Replace this one, go to next

0
or Y
0
Del

Skip to next without replacing

0
or N
0
!

Replace all remaining matches


Share this page on:
Is this page helpful?
0 0

What is your favorite GNU Emacs hotkey? Do you have any useful tips for it? Let other users know below.


Only registered users can post links.
 
No comments yet. Ask, or type the first one!

Latest articles