mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-16 09:51:56 +00:00
README.org: add fzf
This commit is contained in:
committed by
Evgeniy Dushistov
parent
07cd873e9d
commit
58c48988f6
11
README.org
11
README.org
@@ -21,6 +21,17 @@ make install
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
you can use "DESTDIR" variable to change installation path
|
you can use "DESTDIR" variable to change installation path
|
||||||
|
|
||||||
|
* Integration with [[https://github.com/junegunn/fzf][fzf]]
|
||||||
|
Useful when you have multiple dictionaries
|
||||||
|
#+BEGIN_SRC sh
|
||||||
|
fzf --prompt="Dict: " \
|
||||||
|
--phony \
|
||||||
|
--bind "enter:reload(sdcv {q} -n --json | jq '.[].dict' -r)" \
|
||||||
|
--preview "sdcv {q} -en --use-dict={}" \
|
||||||
|
--preview-window=wrap \
|
||||||
|
< <(echo)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Documentation
|
* Documentation
|
||||||
See sdcv man page for usage description.
|
See sdcv man page for usage description.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user