GNU Emacs keyboard shortcuts

GNU Emacs

Zeynel -
6 years ago
- Shortcuts
1
♦ Meta + C

Capitalize word

1
Ctrl + X then Ctrl + U

Uppercase region

1
Ctrl + X then Ctrl + L

Lowercase region

Advertisement

The following keys are defined in the minibuffer.
1
Tab

Complete as much as possible

0
Space

Complete up to one word

0
⤶ Enter

Complete and execute

0
?

Show possible completions

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
Ctrl + G

Abort command

0
Ctrl + X then Esc then Esc

Edit and repeat the last command that used the minibuffer

0
F10

Activate menu bar items in text terminals

0
Ctrl + X then B

Select another buffer

0
Ctrl + X then Ctrl + B

List all buffers

0
Ctrl + X then K

Kill a buffer

0
Ctrl + T

Transpose characters

0
♦ Meta + T

Transpose words

0
Ctrl + X then Ctrl + T

Transpose lines

0
Ctrl + ♦ Meta + T

Transpose sexps

1
♦ Meta + $

Check spelling of current word

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 + .

Find a tag (a definition)

0
Ctrl + U then ♦ Meta + .

Find next occurence of a tag

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
♦ Meta + ,

Continue last tags search on query-replace

0
♦ Meta + !

Execute a shell command

0
♦ Meta + &

Execute a shell command asynchronously

0
♦ Meta + |

Run a shell command on the region

0
♦ Meta + X

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

0
Ctrl + X then R then R

Copy rectangle to register

0
Ctrl + X then R then K

Kill rectangle

0
Ctrl + X then R then Y

Yank rectangle

0
Ctrl + X then R then O

Open rectangle, shifting text right

0
Ctrl + X then R then C

Black out rectangle

0
Ctrl + X then R then T

Prefix each line with string

0
Ctrl + X then A then G

Add global abbrev

0
Ctrl + X then A then L

Add mode-local abbrev

0
Ctrl + X then A then I then G

Add global expansion for this abbrev

0
Ctrl + X then A then I then L

Add mode-local expansion for this abbrev

0
Ctrl + X then A then E

Explicitly expand abbrev

0
♦ Meta + /

Expand previous word dynamically

0
Ctrl + U then Num 0 - Num 9

Numeric argument

0
♦ Meta + -

Negative argument

Advertisement

0
Ctrl + Q

then char: Quoted insert

0
Ctrl + \

Enable or disable input method

0
Ctrl + H then I

Enter the Info documentation reader

0
Ctrl + H then S

Find specified function or variable in Info

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
Num 1 - Num 9

Select menu item by number

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
I

Look up a subject in the indices

0
S

Search nodes for regexp

0
Q

Quit Info

0
Ctrl + X then R then S

Save region in register

0
Ctrl + X then R then I

Insert register contents into buffer

0
Ctrl + X then R then Space

Save value of point in register

0
Ctrl + X then R then J

Jump to point saved in register

0
Ctrl + X then (

Start defining a keyboard macro

0
Ctrl + X then )

End keyboard macro definition

0
Ctrl + X then E

Eappend to last keyboard macro

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
Ctrl + X then Ctrl + E

Eval sexp before point

0
Ctrl + ♦ Meta + X

Eval current defun

0
♦ Meta + X

(then eval-region) Eval region

0
♦ Meta + :

Read and eval minibuffer

0
♦ Meta + X

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

0
♦ Meta + X

(then customize) Customize variables and faces


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

Program information

Program name: GNU Emacs GNU Emacs (Text editing)

GNU Emacs is the most popular port of the Emacs text editor. It's developed by GNU Project's founder Richard Stallman and dubbed "most powerful text editor of today". GNU Emacs can open text files in multiple character sets and its functionality can be enhanced with Emacs Lisp programs.

Web page: gnu.org/s/emacs

Last update: 11/11/2019 8:10 PM UTC

How easy to press shortcuts: 53%

More information >>

Shortcut count: 220

Platform detected: Windows or Linux

Similar programs



User operations

Add GNU Emacs to your list of favorites

Advertisement


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


 
No comments yet. Ask, or type the first one!