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

Is there a way to make a single key open or create a note depending on if results are found? #92

Open
2 tasks done
razzius opened this issue Sep 12, 2022 · 0 comments
Open
2 tasks done

Comments

@razzius
Copy link

razzius commented Sep 12, 2022

Checklist

  • I updated.
  • NV_note_handler cannot fix my issue.

Summary of Problem

I'd like this plugin to open a note if one matches the query, and open a new note with the query as the note filename if not. As it is, if no note is found, and I hit enter, nothing happens. If I set

let g:create_note_key = 'enter'

Then it will always create a new note, even if one is found.

Is there a way to unify searching and creating notes with a single keypress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant