wustho / epy

CLI Ebook (epub2, epub3, fb2, mobi) Reader
GNU General Public License v3.0
981 stars 53 forks source link

Mark Position / Jump To Position? #80

Open 097115 opened 1 year ago

097115 commented 1 year ago

I'm probably missing something but m and ' (or is it grave? I tried both) mappings seem not to work for me.

As with Vim, I press m, then some letter, say a. Then flip some pages in the same book. And then press 'a. But epy doesn't go back to that saved position (and just flickers a bit).

Any hint? :)

mholladay commented 4 months ago

I was looking at the code today to check this very thing. It is specifically looking for a number (0-9) after the "m" or "`". If you use that rather than a number it seems to work as expected.

097115 commented 4 months ago

Thanks, @mholladay!

(Will leave this open, since it's probably needs either to be documented, or maybe expanded to support other characters, but, please, @wustho feel free to close it if you think otherwise :))