<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Emacs on Lloyd Rochester's Geek Blog</title><link>https://lloydroc.github.io/categories/emacs/</link><description>Recent content in Emacs on Lloyd Rochester's Geek Blog</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2025, Lloyd Rochester.</copyright><lastBuildDate>Tue, 06 Apr 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://lloydroc.github.io/categories/emacs/index.xml" rel="self" type="application/rss+xml"/><item><title>Movement in Emacs</title><link>https://lloydroc.github.io/post/emacs/movement/</link><pubDate>Tue, 06 Apr 2021 00:00:00 +0000</pubDate><guid>https://lloydroc.github.io/post/emacs/movement/</guid><description>&lt;h1 id="hahahugoshortcode50s0hbhb">Movement in Emacs&lt;/h1>
&lt;p>A little cheat sheet for movement in &lt;code>emacs&lt;/code>. Tried to capture all the ways you can move up, down, left and right in a buffer.&lt;/p>
&lt;h1 id="moving-by-character-and-line">Moving by Character and Line&lt;/h1>
&lt;p>Think &lt;em>next&lt;/em> and &lt;em>previous&lt;/em> for lines, and &lt;em>backward&lt;/em> and &lt;em>forward&lt;/em> for characters.&lt;/p>
&lt;pre tabindex="0">&lt;code> Previous Line C-p
 ^
 |
Previous Character C-b &amp;lt;---+---&amp;gt; Next Character C-f
 |
		 v
 Next Line C-n
&lt;/code>&lt;/pre>&lt;h1 id="moving-by-word-and-sentence">Moving by Word and Sentence&lt;/h1>
&lt;pre tabindex="0">&lt;code> Backward Sentence M-a
 ^
 |
Backward Word M-b &amp;lt;---+---&amp;gt; Forward Word M-f
 |
		 v
 Forward Sentence M-e
&lt;/code>&lt;/pre>&lt;h1 id="moving-to-beginning-of-line-and-buffer">Moving to Beginning of Line and Buffer&lt;/h1>
&lt;pre tabindex="0">&lt;code> Buffer Start M-&amp;lt;
 ^
 |
Line Beginning C-a &amp;lt;---+---&amp;gt; Line End C-e
 |
		 v
 Buffer End M-&amp;gt;
&lt;/code>&lt;/pre>&lt;h1 id="moving-to-first-non-whitespace-character">Moving to first non-whitespace Character&lt;/h1>
&lt;p>The &lt;code>M-m&lt;/code> will run &lt;code>back-to-indentation&lt;/code>.&lt;/p></description></item></channel></rss>