Skip to content

Instantly share code, notes, and snippets.

@anthonyclarka2
Last active March 22, 2022 19:09
Show Gist options
  • Save anthonyclarka2/749d89c94c6229fabe8cd00d5fb96a3a to your computer and use it in GitHub Desktop.
Save anthonyclarka2/749d89c94c6229fabe8cd00d5fb96a3a to your computer and use it in GitHub Desktop.
Emacs Navigation Cheat Sheet
<mxfile host="Electron" modified="2022-03-13T20:44:33.536Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/16.5.1 Chrome/96.0.4664.110 Electron/16.0.7 Safari/537.36" etag="R_SOdd2db7crDnFWafUC" version="16.5.1" type="device"><diagram id="qbLhw_JT5a_EEhQz4K1e" name="Page-1">7Z1td5s2GIZ/jT+6B8T7x8Zu2q5zt9Ns67pvxMg2C0YM48TJr59kwDE8yolpjBBGaY9DBAis5/ItcevFI2Oy3n1M/WQ1IwGORkgLdiNjOkJINxEasf9a8JinuKaXJyzTMCgOek64CZ9wkagVqdswwJvKgRkhURYm1cQ5iWM8zyppfpqSh+phCxJVr5r4SwwSbuZ+BFO/h0G2KlJ1TXve8QmHy1Vxadcqdtz687tlSrZxcb0RMq73P/nutV/mVRy/WfkBeThKMj6MjElKSJZvrXcTHLGyLYstP+/6hb2H+05xnJ1ywuevH4i5w//Ef3z98vTj753zy/ZuXORy70fbojz+TIrbzR7LIsrwjl7hapWtI5qg000/Cpcx3Z7Ta+OUJtzjNAtpob4vdqzDIGCnX6V4Ez75t/usNPp3QsI424fMuhpZU5bXNiObHAuW9SZLyR2ekIjQfKcxiVkuizCK6kkkzgqadJtdiEUCB8Vl2N5rfx1GjMpv5JZkhL6nGYlJeSrZpnN28irLKGnIMt7TF1p47IUdsHm3JGQZYT8JN+/mZL3fMd/sD71e5FnTzUPmFro6yr68WQqFOWX/aDoMWFn6tPDw7iipCOBHTNY4S+l1tGKvZRj5KcWHrWTx4Zlco0haHTFbIugXn5XlIeNnXuhGgUwDfBDAZ0oeYgWQvAChKkCOAwmyRBJkAIKu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BJI0uGJzGAhIqDNCLyoVB71tMhyQMdtfCAP2ogzD4+9NJtsJp3xCSRhZsjiwIHchu8waxMVkgfYvpkGThxFk17ckCtDVvHsJsvmLtBaJU4Y2q4HWtCg7PcGxiWUsRzwtWBK9mURuclYSEdlw50GycjRUzMjGja9rr0AitRhyegdm7auOykakR03H/uAPNSyYzihl5mEGvIyNWZDiOqJp4efqgWb06o9/keJVCh1Q40KtU0+gaxNOTLZ7QmFQzoRqMenZkiydnCJvS29NXUKl/B17n8YQOodLbJgs8eZLFE3p3Sm8bNG9tyfS2HInIWbCLlUMlqC8ss6VryQ6usfU5nqd4jdkoseNVu/KdN9hPmd1bTz9amCu/ei8X5jrQxaXoJezOQJdn1NT/xAWVW3t6cqGvJ4Cub3iJd4miThB1tUd2s3zkewU6qzXooC+oJK2vcHl1RevYD3Khhdiw/fPifIxhtIAs5FYianAGqYhtAUGH73c/9Zepn6xUWH/6i9I4c+F4H9T2wsox+poOQhx8TKsfVZ0zssAWGlNo9uXz4VRMT5ff2ve/6ad1/bcXU2j4qQr1LRWqxZkiIrZChZafqlDf/k0ynAljYitU6PypCvVtFarNWWJCaIXqQfdPVahvq1AdjqMrtEL1oOf2W8PxtGrJAMEr1NvGu+p3O/IWDRCrDNBEm4z/bcCQFK7VBQ+UcgzATNcL0nnQG/uKafOgWJuWXpa+ce0z/TzHalWqU8PsmSDMXa8c4EHHbDZe9y2ig9IG3roBYrUB2nEzcr+fIUwOouBnIYn7xpE8ysBbPuBc04TpnylhvWGHfR/Z8/yMBJgd8T8=</diagram></mxfile>
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anthonyclarka2
Copy link
Author

Emacs Navigation copied from https://punchcard.wordpress.com/2010/10/09/emacs-movement-shortcuts-wallpaper/ but turned into black and white

@anthonyclarka2
Copy link
Author

Unfortunately I couldn't just attach the drawio file to the gist. If you need to edit it, either import the SVG version or view the raw version of the drawio file and save that with a ".drawio" file extension.

@ddoherty03
Copy link

Here's one I missed, but it incredibly useful:

C-M-n and C-M-p

They go forward and backeard by "lists" which are defined for each major mode, so when on a "begin" in ruby, C-M-n takes you to the corresponding "end" and vice-versa. It is in some ways like the % in vim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment