mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-15 17:31:56 +00:00
Compare commits
3 Commits
fix-includ
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5478f290a1 | ||
|
|
9c77e91006 | ||
|
|
b74bc2478a |
31
README.org
31
README.org
@@ -21,17 +21,6 @@ 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.
|
||||||
|
|
||||||
@@ -40,6 +29,26 @@ To report bugs use https://github.com/Dushistov/sdcv/issues ,
|
|||||||
if it is not possible you can report it via email to dushistov at mail dot ru.
|
if it is not possible you can report it via email to dushistov at mail dot ru.
|
||||||
Be sure to include the word "sdcv" somewhere in the "Subject:" field.
|
Be sure to include the word "sdcv" somewhere in the "Subject:" field.
|
||||||
|
|
||||||
|
* 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=right:70%:wrap \
|
||||||
|
< <(echo)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
* Integration with readline
|
||||||
|
This lines can be added to inputrc file (~/.inputrc, /etc/inputrc),
|
||||||
|
to abort multiply usage with ESC:
|
||||||
|
#+begin_src
|
||||||
|
$if sdcv
|
||||||
|
"\e\e": "-1\n"
|
||||||
|
$endif
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Notes to developer
|
* Notes to developer
|
||||||
** make source code release
|
** make source code release
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
#include <cstdio> //for popen
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user