Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use anki to document and remember all my emacs custom key-bindings. That might sound silly but it's easy to accumulate useful things over the years in emacs and forget about them.

Emacs is vast and deep and there's a lot to learn and remember.

It also serves the same purpose for key-bindings and functions in various modes and packages.



> That might sound silly

That’s not silly at all, a lot of people use Anki for things like that. I’ve seen a couple of premade decks but I would avoid these.

When it comes to keybindings its better to make your own deck otherwise you end up learning a load of bindings you’ll never use. I like to add them as and when I need them.


Wouldn't it be easier if you could just pop up a help screen with a good search option whenever you needed to know a certain key combination?


Ha! I used flashcards to memorize a fair number of Emacs shortcuts.

It's not always that easy to find - even with C-h a or C-h m, etc.

But the bigger benefit is even knowing that feature X exists and there is a key combination for it. I found flash cards useful because I would get an occasional "reminder" that X exists and I should use it more often!

A trivial example: flush-lines and keep-lines. I never knew these existed till I read them somewhere. I put it in my flashcards, and over time I would remember its existence and use it more and more.


Wow! I have tried to figure out how to grep buffers many times over the last 30 years. Now I know, thanks! And it's going right into Anki :)


apropos-documentation (C-h d) and apropos-command (C-h a) provide some such functionality.

You could also try searching for "apropos" with apropos-command to find other related commands.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: