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

key bind to create note when grepping #9

Closed
Konfekt opened this issue Jan 10, 2024 · 4 comments
Closed

key bind to create note when grepping #9

Konfekt opened this issue Jan 10, 2024 · 4 comments

Comments

@Konfekt
Copy link

Konfekt commented Jan 10, 2024

When using shv g how about a fzf key binding (such as Ctrl-X as in https://github.com/alok/notational-fzf-vim) to create a new note with the search query {q} as a title ?

@saccarosium
Copy link
Owner

Hi @Konfekt,
There is already a binding for this, is Alt-Enter. Perhaps i should document it better.

@Konfekt
Copy link
Author

Konfekt commented Jan 11, 2024

Yes, either one clones the huge repo with the man/doc files, or the shell script and github page itself rest rather mute

@Konfekt
Copy link
Author

Konfekt commented Jan 13, 2024

Can this bind be configured? For terminals using .Xresources such as xterm or urxvt, it is already bound otherwise; on Konsole it works ok.

@Konfekt
Copy link
Author

Konfekt commented Jan 14, 2024

Sorry for the noise, I see that it is already exposed as $SHV_PICKER at

picker=${SHV_PICKER:-"fzf -m --ansi --print-query --bind=alt-enter:print-query"}

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

2 participants