0% found this document useful (0 votes)
149 views

GNU Emacs Cheat Sheet: Control Meta

This document provides a cheat sheet for GNU Emacs with summaries of keyboard shortcuts for common operations like file handling, text selection, copying and pasting, navigation, windows and buffers, packages, and getting help. Key combinations using Control (C-) and Meta/Alt (M-) allow opening, saving, closing files and quitting Emacs. Text can be selected by clicking and dragging or with keyboard shortcuts, and cut, copied and pasted. Undo and navigation arrows allow moving around files. Windows and buffers manipulate the Emacs interface. Help is available through key bindings.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
149 views

GNU Emacs Cheat Sheet: Control Meta

This document provides a cheat sheet for GNU Emacs with summaries of keyboard shortcuts for common operations like file handling, text selection, copying and pasting, navigation, windows and buffers, packages, and getting help. Key combinations using Control (C-) and Meta/Alt (M-) allow opening, saving, closing files and quitting Emacs. Text can be selected by clicking and dragging or with keyboard shortcuts, and cut, copied and pasted. Undo and navigation arrows allow moving around files. Windows and buffers manipulate the Emacs interface. Help is available through key bindings.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

GNU Emacs Cheat Sheet BY SETH KENLON

C
Control
MMeta
Hold Ctrl Hold Alt or press and
release Escape

File operations Text Selection Copy & Paste


C-x C-f Open a file If using a mouse, you can click and C-w Cut
C-x C-s Save file drag to select a region of text. M-w Copy
C-x C-w Save as… C-<space> Start selection C-y Paste ("yank" from kill)
C-x C-k Close file or C-@
C-k Cut line after cursor
C-x C-c Quit C-g Deselect
M-d Cut word after cursor

Undo M-x cua-mode


C-/ Undo Activates modern copy & paste
or C-x u keyboard shortcuts.
Panic! C-x Cut
Cancel a command or C-c Copy
operation in progress Windows, frames, and buffers C-v Paste
C-g A buffer holds a process or file.
A window is your view of a buffer.
A frame is the desktop window. Navigation
If your keyboard has arrow keys,
C-3 Vertical split
you can use them to move your
Help C-2 Horizontal split
cursor.
Discover whether a key C-1 No splits (1 window) C-p Previous line
combo is already bound. C-0 Remove window C-n Next line
C-h k → <key combo> C-x Cycle (left or right) C-b Back a character
<arrow> through active buffers
M-b Back a word
Display all key bindings. C-o Visit other [split] window
C-f Forward a character
C-h b C-x 52 Open a new frame
M-f Forward a word
C-a Go to start of line
C-e Go to end of line

Packages
M-x list-packages List all available packages
M-x describe-package Describe current package (at cursor)
M-x package-menu-mark-install Mark current package for install
M-x package-install-selected-packages Install all selected packages

opensource.com Twitter @opensourceway | facebook.com/opensourceway | CC BY-SA 4.0

You might also like