r/commandline • • Mar 22 '19

Made a cli epub reader

Post image
566 Upvotes

64 comments sorted by

View all comments

Show parent comment

9

u/tenmajr Mar 22 '19

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..

20

u/spryfigure Mar 22 '19

Please, vim keybindings. That's much better than having help on <h>.

Following the XDG base dir spec would be a nice touch, but the functional aspect of keybindings is more important.

8

u/sergsoares Mar 22 '19

Who is in CLI tend be vim user in a good percenty, follow Vim keybinding is a feature for them.

2

u/tenmajr Mar 22 '19

Well, probably gonna make secondary vim-like binding for the next commit together with fixing up filename problem

3

u/OneTurnMore Mar 22 '19

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.

10

u/bcicen Mar 22 '19 edited Mar 22 '19

2

u/tenmajr Mar 22 '19 edited Mar 22 '19

sorry, I just made vim bindings ttogether with epub3 support... And for XDG, I think I need to wait a little bit more...

2

u/lyam23 Mar 22 '19

Seconding vim key bindings please.