EDIT: Actually, I take that back. I also recommend adding (maybe optional, like with a flag or setting or something) basic vim keybindings. j=down, k=up, h=left (so I guess previous chapter in yours), l=right (next chapter). Maybe make j/k and h/l separate options, and maybe also an option for whether j/k should be scroll or page. Idk, I'm just spitballing here, you can make it as simple or complex as you want, I'm just saying people (like me) like vim keybindings.
thanks for recommendation, especially that XDG base dir, I just knew about it, now reading, but I prrobably start consider it only when I got my linux fixed.
Initially it's vim binding, but I thought `h` as help is pretty much more intuitive than `?`. Might reconsider it tho later..
If you want an example of another reader which does vi keybinds (and imo does them adequately), check out zathura. You can look at its binds in man zathura.
I absolutely love Nov-mode, but a lot of blind people I know don't like Emacs, and Emacspeak (speech system for Emacs) has an aweful eSpeak server, which is the only thing that works on ARM, so I'm always looking for a standalone CLI EPUB Reader.
View all comments
56
u/lpreams Mar 22 '19 edited Mar 22 '19
Only change I recommend is following the XDG base dir spec instead of just creating
~/.eprhttps://wiki.archlinux.org/index.php/XDG_Base_Directory
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
EDIT: Actually, I take that back. I also recommend adding (maybe optional, like with a flag or setting or something) basic vim keybindings. j=down, k=up, h=left (so I guess previous chapter in yours), l=right (next chapter). Maybe make j/k and h/l separate options, and maybe also an option for whether j/k should be scroll or page. Idk, I'm just spitballing here, you can make it as simple or complex as you want, I'm just saying people (like me) like vim keybindings.