You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: chapters/02-the-basics.org
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,7 @@ An /Emacs frame/ can be divided into /windows/ in itself.
117
117
- *C-x 3*: open a new window vertically, which corresponds to *M-x split-window-right*
118
118
- *C-x o*: switch to the next window, which corresponds to *M-x other-window*
119
119
- *C-x 0*: close the current window, which corresponds to *M-x delete-window*
120
+
- *C-x 1*: close all the windows but the one focused, which correspond to *M-x delete-other-windows*
120
121
121
122
#+CAPTION: Windows manipulation
122
123
[[../images/windows.gif]]
@@ -129,13 +130,17 @@ A /buffer/ is displayed in a /frame/.
129
130
- *C-x C-b*: list opened buffer (and jump to the selected one), which corresponds to *M-x list-buffers*
130
131
- *C-x k*: kill a buffer, which corresponds to *M-x kill-buffer*
131
132
133
+
On most read-only buffers, press *q* to close it.
134
+
132
135
#+CAPTION: Buffer navigation
133
136
[[../images/buffers.gif]]
134
137
135
138
*** Cancel a command
136
139
137
140
- *C-g* or *ESC ESC ESC*: cancel the current command running in the minibuffer, which corresponds to *M-x keyboard-quit*
138
141
142
+
It also cancels all previously pressed keys.
143
+
139
144
*** The most useless command
140
145
141
146
- *C-x C-c*: quit emacs (use at your own risks!), which corresponds to *M-x save-buffers-kill-terminal*
@@ -146,9 +151,12 @@ Emacs has a powerful built-in help system for key bindings and internal function
146
151
147
152
- *C-h f <function-name>*: Find the key binding corresponding to <function-name> (ex: C-h f save-buffer)
148
153
- *C-h k <key-sequence>*: Find the function name corresponding to <key-sequence> (ex: C-h k C-x C-s)
154
+
- *<key-sequence> C-h*: Show the next possible keys to press after the <key-sequence> (ex: C-x 4 C-h)
149
155
150
156
When executing these commands, a new frame opens. To close it, switch to it (/C-x o/) and type /q/. If not, simply close it (/C-x 0/)
151
157
158
+
After executing a command with M-x, if the command have a corresponding keybinding bound to it, a message indicating what to press will appear in the minibuffer.
159
+
152
160
Emacs also includes the full manual (also available online: http://www.gnu.org/software/emacs/manual/html_node/emacs/)
0 commit comments