Skip to content

Commit

Permalink
🔀 Merge pull request #71 from davep/tweak-search-tags-command
Browse files Browse the repository at this point in the history
Tweak search tags command
  • Loading branch information
davep authored Jan 10, 2025
2 parents 8a89dfc + f0efade commit 2014171
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
- Fixed title and excerpt content not fully showing if there was text
wrapped in square brackets within them.
([#64](https://github.com/davep/braindrop/issues/64))
- Added <kbd>#</kbd> as an alternative key for pulling up the tag search in
the command palette. ([#71](https://github.com/davep/braindrop/pull/71))

## v0.4.0

Expand Down
6 changes: 3 additions & 3 deletions src/braindrop/app/commands/filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

##############################################################################
class ClearFilters(Command):
"""Clear all tags and other filters."""
"""Clear all tags and other filters"""

BINDING_KEY = "f"
SHOW_IN_FOOTER = False
Expand All @@ -29,9 +29,9 @@ class Search(Command):
##############################################################################
@dataclass
class SearchTags(Command):
"""A message that requests that the tag-based command palette is shown"""
"""Search for a tag and then filter with it"""

BINDING_KEY = "t"
BINDING_KEY = "t, #"
SHOW_IN_FOOTER = False

active_collection: Raindrops = Raindrops()
Expand Down

0 comments on commit 2014171

Please sign in to comment.