Neovim Note-Taking: A Lua Adventure
A quick look at 7-line piece of neovim lua code that has changed my workflow quite a bit. Note-taking simplicity at its best.
https://schulz.dk/2024/04/11/neovim-note-taking-a-lua-adventure/
#Code #Vim #linux #lua #neovim
m@thias.hellqui.st :verified-skull:
in reply to π Ίπ Έπ Ό ππ ²π ·ππ »π • • •π Ίπ Έπ Ό ππ ²π ·ππ »π
in reply to m@thias.hellqui.st :verified-skull: • • •@m
The beauty in this is the simplicity. Just a markdown file that follows your git Repo (or currently open file if not part of a Repo).
Open with :Note
Write your notes
Close again as any other file with :wq
Open again as needed with :Note
You could mane an auto command that automatically opens the notes if a notefile exists for the project.
m@thias.hellqui.st :verified-skull: likes this.
m@thias.hellqui.st :verified-skull:
in reply to π Ίπ Έπ Ό ππ ²π ·ππ »π • • •When you put it like that it sounds quite similar to nb, though nb has even more functionality, all contained in one script file and it all being synced to git as well.
It might be overkill to use both. I still have to experiment to establish if that is the case. π
https://github.com/xwmx/nb
GitHub - xwmx/nb: CLI and local web plain text noteβtaking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, + more, in a single portable script.
GitHub