Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zk Grep #171

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Zk Grep #171

wants to merge 8 commits into from

Commits on Jun 22, 2024

  1. add ZkGrep command

    shfattig committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    aa45809 View commit details
    Browse the repository at this point in the history
  2. Add conditional on 'grep' argument in pick_notes()

    if the 'grep' argument is provided, the ui is called directly.
    the api is not called with the ui as a callback (as would normally be
    the case) because in this case the ui has to call the api on each input
    change
    shfattig committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    6e786f4 View commit details
    Browse the repository at this point in the history
  3. Condition pick_notes() on 'grep' option

    run grep picker if 'grep' is given, otherwise run the other one
    shfattig committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    4034cd5 View commit details
    Browse the repository at this point in the history
  4. add new grep picker

    picker uses asynchronous calls to "zk list -m <search_term>" to live filter notes based on a search term
    implemented based on Telescope's live_grep
    does not include ability to jump to line since "zk list" does not give
    this info
    shfattig committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    4c66abd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4499af1 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. improve logic checks

    grep option insertion, instead of overwrite
    tjex committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    81bb6b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. Configuration menu
    Copy the full SHA
    20a3058 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8357420 View commit details
    Browse the repository at this point in the history