~xeras


#3 Fuzzy search 4 months ago

Comment by ~xeras on ~tsdh/rdictcc

On that same vein: Calling "rdictcc-translate-word" with an empty string creates an unusable buffer, so this should definitely be interactive.

#3 Fuzzy search 5 months ago

Comment by ~xeras on ~tsdh/rdictcc

Woops, I expressed myself wrongly. The alias is fine for terminal use, no need for extra work on your side there. I was referring to the emacs integration which could use ivy.

Performing the fuzzy search in both languages is actually intentional, and I just updated my alias to make that even more convenient: https://git.jfischer.org/xeruf/dotfiles/src/branch/main/.config/shell/functions#L311

#3 Fuzzy search 5 months ago

Ticket created by ~xeras on ~tsdh/rdictcc

I currently use dictcc offline with an alias like this (fzy is an fzf alternative, another fuzzy finder):

cat /home/janek/.local/share/dictcc/dict.txt | sed '/#/d;/&/d;/^$/d' | fzy

This very easily accomplishes an interactive full-text search which I find to be very handy.

The following package allows fuzzy finding, but only offline: https://github.com/martenlienen/dictcc.el/issues/19

Could this be implemented here using the full offline file, just like in the Terminal?

#2 Respect XDG 7 months ago

Ticket created by ~xeras on ~tsdh/rdictcc

Currently I always run rdictcc with an alias:

rlwrap rdictcc --directory $XDG_DATA_HOME/dictcc

Would be good if that weren't necessary - I don't mind the exact name of the directory, but it would be nice if XDG base directory standard is respected, maybe with fallback to the home directory path.

#1 Handle interrupt gracefully 1 year, 10 days ago

Comment by ~xeras on ~tsdh/rdictcc

Finally got to test it, had to update the AUR package first ;) Works perfectly, thanks!

#1 Handle interrupt gracefully 1 year, 4 months ago

Ticket created by ~xeras on ~tsdh/rdictcc

Hey, great tool :) However, when pressing Ctrl-C to exit interactive mode (a common habit of mine) it spills out a few unpretty error messages before exiting. Would be nice to catch that and simply bid farewell.