D̳͙̳e̳͙̳a̳͙̳r̳͙̳.̳͙̳I̳͙̳n̳͙̳.̳͙̳.̳͙̳H̳͙̳e̳͙̳a̳͙̳d̳͙̳l̳͙̳i̳͙̳g̳͙̳h̳͙̳ts̳͙̳... 𐂂 ☀︎☀︎

Focus your Obsidian note taking - Regex Line Filter 1.3

I created this plugin for Obsidian out of necessity. I’m a pretty messy note-taker, especially when I’m forced to focus more on getting the idea/task/reminder down ASAP rather than sparing a thought for how a note should be structured. In a recent project this meant primarily a single note, divided by headings and a date, everything else was mostly dot-point lists and indentation. This led to long notes and an eventual traffic-lights system for todo, doing, done Eg.

### @today
- thing A
- sub-thing 1 🟢
- sub-thing n 🟢
- thing B 🟠
- sub thing 1 🟢
- sub thing 2 - sub thing n 🔴

Eventually I needed a quick way to check which tasks still needed action/completion so I thought that being able to filter for all lines with certain regex matches could be useful way to get a quick view of where things are at. One thing led to another and then to the regex-line-filter plugin.

Here is demo of what it looked like at v1.0
regex-line-filter demo

Since then some community members suggested some great features which are now all implemented in version 1.3 released this month:

  • Recently used filters can be pinned or saved.
  • Saved ‘custom’ filters can be named and hotkey-assigned.
  • Custom filters can be toggled on in tandem, widening or narrowing the lines displayed in the filtered view
  • Child indents of a matched line can be included in filtered view
  • Date-based template variable ‘literals’ can be injected into filters so you can quickly filter for {{today}}, {{yesterday}}, {{last-month}} or custom date formats using {{date:YYYY-MM-DD}} variations.

Hope some folks in the Obsidian community find it useful! Search for regex-line-filter in Community Plugins if you’re curious.

Repo here: github.com/64MM4-KN1F3/regex-line-filter