Use case or problem
I have a row of tags on the first line at the top of my notes, as such:
#taguno #tagdos #tagtres
I sometimes want to add a tag to the beginning of this row of tags.
This often happens because I’m navigating my note and adding tags using my keyboard, rather than using my mouse cursor to navigate, and navigating to the end of the row of tags using the right arrow key takes far too long.
So I’ll move my cursor to the beginning of the first line and start typing:
|#taguno #tagdos #tagtres
#ta|#taguno #tagdos #tagtres
The problem with this is that I’m not getting the tag suggestion box appearing when I type my tag here, so I’m not sure whether the tag even exists in my vault or not.
Proposed solution
Keep the tag suggestion box hidden when typing a hash to the left of a header
|# header
#|# header
|## header2
#|## header2
These cases would not show the tag suggestion box.
Show the tag suggestion box when typing a tag to the left of an existing tag
|#taguno
#|#taguno
This would show the tag suggestion box.
Show the tag suggestion box when the user types a letter after the #
symbol
#t|# header
This would show the tag suggestion box.
Current workarounds
Add a tag at the end of the line
This doesn’t work very well using keyboard navigation, it takes a while to move to the end of the row of tags using the right arrow key.
Add a space, move the cursor back one to the left, and then add the tag
This is only two extra keystrokes, though it adds up if you’re adding tags a lot.
Navigate to the end of the first tag and add the tag there
This can wildly vary between note-to-note, the length of the first tag being variable - when you’re getting into a rhythm this isn’t a great solution and requires far too much concentration to get right.