{"id":626,"date":"2026-01-11T19:35:21","date_gmt":"2026-01-11T19:35:21","guid":{"rendered":"https:\/\/maboc.nl\/?p=626"},"modified":"2026-01-20T19:04:23","modified_gmt":"2026-01-20T19:04:23","slug":"emacs-shortcuts-revisited","status":"publish","type":"post","link":"https:\/\/maboc.nl\/?p=626","title":{"rendered":"Emacs shortcuts revisited"},"content":{"rendered":"<p>In\u00a0<a href=\"https:\/\/maboc.nl\/?p=101\">this<\/a> post I wrote down a few Emacs shortcuts.<\/p>\n<p>Today I&#8217;m trying again, but a little more organised.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>A few defenitions:<\/strong><\/p>\n<p>buffer : a representation of a file in memory of emacs. You edit a buffer<\/p>\n<p>frame : the whole of windows\/menu&#8217;s\/mini-buffer. On a graphical interface you can have multiple frames. On a text terminal you can only have 1 frame.<\/p>\n<p>mark : a position set by C-&lt;space&gt;. The region in the buffer between point and mark is (for example) the region which will be copied\/deleted\/..<\/p>\n<p>point : the place where the cursor is (actually it&#8217;s just before the character the cursor is blinking on)<\/p>\n<p>Window : the view of the buffer on the display<\/p>\n<p><strong>Movement in a buffer:<\/strong><\/p>\n<p>C-b : move one character back<\/p>\n<p>C-f : move one character forward<\/p>\n<p>C-n : Move a line down<\/p>\n<p>C-p : Move a line up<\/p>\n<p>M-b : Move one word back<\/p>\n<p>M-f : Move one word\u00a0 forward<\/p>\n<p>M-&lt; : Start of the buffer<\/p>\n<p>M-&gt; : End of the buffer<\/p>\n<p><strong>Editing:<\/strong><\/p>\n<p>C-&lt;space&gt; : Set mark<\/p>\n<p>M-w : copy the text between the mark and the point<\/p>\n<p>C-y : Insert\/Yank the copied text into the buffer at the point<\/p>\n<p>C-w : Cut the text between mark and point<\/p>\n<p><strong>Buffers:<\/strong><\/p>\n<p>C-x b : switch buffer<\/p>\n<p>C-x B : Display a list of buffers in emacs<\/p>\n<p>C-x 1 : close all windows except the current one<\/p>\n<p><strong>Windows :\u00a0<\/strong><\/p>\n<p>M-x split-window-horizontally : Split the curent window horizontally<\/p>\n<p>M-x split-window-vertically : Split the current window vertically<\/p>\n<p>C-x 0 : Kill current windows (don not kill the buffer)<\/p>\n<p>C-x o : Switch to another window (loops through all buffers)<\/p>\n<p>C-x 1 : Kill all windows except the current one (do not kill the buffers)<\/p>\n<p><strong>Frames :\u00a0<\/strong><\/p>\n<p>C-x 5 2 : Create a new frame<\/p>\n<p>C-x 5 0 : delete frame<\/p>\n<p>M-x iconify-frame : Iconfys the current frame (this is on the linux level)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In\u00a0this post I wrote down a few Emacs shortcuts. Today I&#8217;m trying again, but a little more organised. &nbsp; A few defenitions: buffer : a representation of a file in memory of emacs. You edit a buffer frame : the whole of windows\/menu&#8217;s\/mini-buffer. On a graphical interface you can have multiple frames. On a text [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56],"tags":[18,58],"class_list":["post-626","post","type-post","status-publish","format-standard","hentry","category-linux","tag-emacs","tag-linux"],"_links":{"self":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts\/626","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=626"}],"version-history":[{"count":4,"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts\/626\/revisions"}],"predecessor-version":[{"id":638,"href":"https:\/\/maboc.nl\/index.php?rest_route=\/wp\/v2\/posts\/626\/revisions\/638"}],"wp:attachment":[{"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/maboc.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}