--- title: "Note-taking routine" slug: /note-taking-routine/ date: 2024-03-01 tags: ["log", "productivity", "zettelkasten", "personal", "eolas"] --- ![Notes view](./img/full-note-view.png) I keep my notes in a repository called [Eólas](). Eólas (_awlus_) is an Irish word meaning knowledge or information, especially knowledge gained by experience or practice. I have designed it as a technical knowledge management system or "second-brain" comprising notes from my autodidactic study of software engineering and computer science. It is a [Zettelkasten](https://en.wikipedia.org/wiki/Zettelkasten) work in progress. It previously had a hierarchical structure made up of topic-based subdirectories however I have recently converted this into a single flat directory structure organised by tags. I'm in the process of partitioning longer notes into smaller informational units. I use the [zk](https://github.com/zk-org/zk) CLI package to help with indexing and task automation alongside its [zk-nvim](https://github.com/zk-org/zk-nvim) Neovim wrapper (my main editor). I occassionally utilise [Obsidian](https://obsidian.md/) alongside Neovim for when I want to view my notes as a knowledge graph or read them alongside their rich content (images, videos etc). ![Viewing backlinks in Telescope](./img/zk-tags.png) ## Commands On my local machine I have aliased several commands to help me manage the knowledge base:
Alias Command Output
z cd $HOME/repos/eolas Access Zettelkasten
zn zk new --title ... Create new entry from template
<leader> zk :ZkNotes Access Zettelkasten from anywhere within nvim
<leader> zi :ZkIndex Index Zettelkasten within nvim
<leader> zt :ZkTags View tags via Telescope within nvim
<leader> ztt :ObsidianTags View tags in a Vim buffer via within nvim using obsidian-nvim
<leader> zl :ZkLinks View links in current entry via Telescope within nvim, using obsidian-nvim
<leader> zb :ZkBacklinks View backlinks to current entry via Telescope within nvim, using obsidian-nvim
## Frontmatter When I run the `zn` command this generates a new Zettelkasten entry with the following frontmatter template: ```yaml --- id: o8yzcrtv title: test tags: [] created: Saturday, February 17, 2024 | 17:44 --- ``` ## Scripts The [scripts](https://github.com/thomasabishop/eolas/tree/master/scripts) directory contains several Bash and Python scripts I use for general housekeeping, such as formatting image URLs, removing unused assets, and autosaving. ## Autosave I use a [bash script](https://github.com/thomasabishop/eolas/blob/master/scripts/auto_save.sh) to create autosave functionality via Git. This script runs every 15 minutes via a `cron` timer. It tidies up the directory (removes unused images, ensures all file names use underscores rather than spaces and hyphens etc) and commits and pushes to GitHub. ## Usage I want to be able to access my notes instantly whatever I am working on so I typically have them open, alongside my knowledge graph and GPT-4 client in a secret [Hyprland](https://hyprland.org/) window overlay (pictured above).