Practiced moving around with the Emacs keys for 30 mins
Learnt all about movement and search today.
Too tired, so just worked my way through the Anki deck for a bit today.
Had an extremely busy day with studies today, so could not spend time learning much Emacs.
Decided to do a little bit of plucking the low hanging fruit and customising Emacs a bit to my liking.
I created an
init.el file in the
emacs.d folder in my home directory, to add all my custom stuff into.
Adding Package Managers
Yesterday, I had learnt, that I could install additional functionality by downloading extra Emacs packages from the GNU repo at ELPA.
But since the FSF requires the authors to fork over their copyrights to them, (and most authors being justifiably, unwilling), most packages are found at third party package sites, like MELPA and the now discontinued Marmalade.
So I added this little snippet to my
init.el to add the repos to my Emacs.
and then restarted my Emacs, for it to see the new repos.1
And that led me to,
I realised that, the best way for me to learn Emacs, would be to write in
And I write, most of what I write, in Markdown.
I had also learnt that Emacs has modes, which basically adapt Emacs and related shortcuts to the task at hand.
I went looking to see if there was something that would help me write Markdown more easily and found Jason Blevins’ excellent Markdown Mode for Emacs. 2
Since I had MELPA configured, it took only a few seconds to get Markdown mode installed.
All I had to do was
M-x package-install RET markdown-mode RET
(that is, mash the ALT-x keys, then type
package-install, hit the return/enter key, then type
markdown-mode followed by another return.)
More details on installation and usage at the Markdown Mode site.
A couple of minutes with it and I’m blown away.
I’ve heard of people switching to Emacs to use the excellent Org Mode, for taking notes and task organisation.
I am a convert to Emacs for Jason’s Markdown Mode.
Slowly making my way through the Mastering Emacs book.
Things I did / learnt today …
- Learnt that if I want to run Emacs all over the place (like I do), then the best thing to do is to have Emacs, running as a daemon in the background. So I did that via the handy systemd instructions, on this page.
- And that Emacs has a kitchen sink’s worth of commands.
- And that Emacs commands are like playing chords on the guitar or piano. You just hit a few of them in a sequence to get the desired sound (or action in this case)
C-g, the Control and the G keys get me out of a jam, if I am stuck.
- Found Jess Hamrick’s really useful post, on moving about and buffers and frames and stuff.
- Got myself a basic emacs Anki deck.
- And I learnt how to move about.
All in all, a pretty good day.
Follow my Emacs journey here
Life is really kicking my butt right now.
And the 12th studies are not making it any easier.
So am temporarily giving up on A Hundred Days of Code, again.
Hopefully, I will have the time to give Python, in a month.
In the meanwhile, with the limited time I do have, I’d like to learn me some Emacs.
Will write about it everyday.