saccarosium / shell-velocity

A portable notational velocity for your shell written in POSIX shell.
MIT License
32 stars 5 forks source link

key bind to create note when grepping #9

Closed Konfekt closed 9 months ago

Konfekt commented 9 months ago

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 commented 9 months ago

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

Konfekt commented 9 months ago

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

Konfekt commented 9 months ago

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 commented 9 months ago

Sorry for the noise, I see that it is already exposed as $SHV_PICKER at https://github.com/saccarosium/shell-velocity/blob/934bed3698c1bb43411662aefea0355a5c7639d1/shv#L12