felko / neuron-mode

An emacs mode for editing Zettelkasten notes with neuron
GNU General Public License v3.0
118 stars 21 forks source link

Tag specific keymaps #57

Open felko opened 4 years ago

felko commented 4 years ago

I'd like to define keymaps that would be enabled dynamically based on the tags of the current zettel. I don't know if Emacs allows this kind of thing though. Some ideas here: https://github.com/felko/neuron-mode/issues/55#issuecomment-670399673

Hooks could also be used to run code when opening a zettel with some tag, or adding this tag on the current zettel.

felko commented 4 years ago

I think this should be done though minor modes instead of transient-maps, I could provide some minor mode definition utility that would be specialized for writing those.