Incremental search pushes a mark as soon as you start searching, so once you're done in your new location, you can hit C-u C-space to get back to where you started. No need for another function.
Also checkout the avy package, which takes this idea and makes it even more efficient. And note that this also works when the mark is active, so you can use it to select a specific portion of text.
That's the default for Emacs to recognize your sentence as a sentence. So you can use sentence commands properly, like being able to jump forward or backward by sentence, kill sentence, transpose, etc. But this setting can be changed.
Incremental search pushes a mark as soon as you start searching, so once you're done in your new location, you can hit C-u C-space to get back to where you started. No need for another function.
Also checkout the avy package, which takes this idea and makes it even more efficient.
And note that this also works when the mark is active, so you can use it to select a specific portion of text.
The two spaces after the period: Is that an org-mode thing? What does it do?
That's the default for Emacs to recognize your sentence as a sentence. So you can use sentence commands properly, like being able to jump forward or backward by sentence, kill sentence, transpose, etc. But this setting can be changed.
@@ChristopherMaiorana now I have to look into my settings. Thanks. I’ve never heard of sentence based navigation. That’ll save me so much time.
Just realised the `M-e` / `M-a` actually are the sentence commands you meant. Brainfart earlier.
This is why I hate videos like this. Three minutes to tell ppl that "C-r" is a thing, instead of one paragraph blog post. Or a tweet.