Hosting dotfiles In The Grimoire
I'm moving my dotfiles into the grimoire. I've only done a few, but I'm loving it. It eliminates that little bit of friction to get to the file. It also let's me publish them on the site instead of having them sit in a repo. And, when they're on the site I can write the notes around them for some explanation.
The process works via [TODO: Code shorthand span ] and [TODO: Code shorthand span ] tags. I put a file path behind [TODO: Code shorthand span ] that determines the destination. When I hit a hotkey in Neovim it cranks the contents out.
Here's a sample of what it looks like :
-- code
-- bash
-- export: /Users/alan/Desktop/example.bash
echo "Hello, world"
-
The hotkey I'm using to export the code snippets
is
LayerShift2
+