IMPORTANT NOTE: This project, much like the neuron
project itself, has
been replaced by emanote-kak
.
The good news is that if you don't want to switch from neuron
to emanote
,
emanote-kak
can help you with your neuron
repository as well. Please check
the link for more info.
This repository contains useful commands for interacting with neuron command line tool.
You need to have neuron installed.
The recommended approach is to use plug.kak for installing this plugin.
The snippet below shows how to install the plugin and also contains the recommended configuration (AKA how I personally use it).
plug "MilanVasko/neuron-kak" config %{
# the following is a recommended configuration
declare-user-mode neuron
map global neuron n -docstring "create new neuron note with random ID" ": neuron-new<ret>"
map global neuron N -docstring "create new neuron note" ": neuron-new "
map global neuron s -docstring "search titles and open zettel" ": neuron-search-and-open<ret>"
map global neuron S -docstring "search all and open zettel" ": neuron-search-and-open -a<ret>"
map global neuron i -docstring "search titles and insert zettel ID" ": neuron-search-and-insert<ret>"
map global neuron I -docstring "search all and insert zettel ID" ": neuron-search-and-insert -a<ret>"
}
The following commands are provided:
neuron-new
- creates a new zettel (note)neuron-search-and-open
- searches for zettels interactivelyneuron-search-and-insert
- inserts the zettel ID of found zettel into the document
More commands may come in the future if I get ideas for new ones - all of the existing ones have their origins in my personal need. For now, these should be enough to make the most common tasks easier.
If you'd like to contribute, please do! There are no hard rules to follow, just create an issue or a pull request and I'll try to get back to you (no promises though).