Pdf Reader With Vim Keybindings

Pdf Reader With Vim Keybindings

Ctrl + y - move screen up one line (without moving cursor) Ctrl + b - move back one full screen. Ctrl + f - move forward one full screen. Ctrl + d - move forward 1/2 a screen. Ctrl + u - move back 1/2 a screen. Tip Prefix a cursor movement command with a number to repeat it. For example, 4j moves down 4 lines. Newsboat is a RSS/Atom feed reader for the text console Newsboat install # pkg install newsboat Here's how to change the Newsboats to use vim style key bindings Create the newsboat config file vi /.newsboat/config Then add the code below to the config file and save # general settings.

gorky wrote:

I use zathura, because it fits perfectly into awesome wm - no unnecessary borders, tabs and so on. The second - and probably the most important - feature is its auto-refresh.
As I work primarily with LaTeX, a pdf viewer without auto refresh is much less usable.

This is what I used to think, but I've changed my mind. If you have xdotool installed, you can have your LaTeX compilation script call...

... if it is successful in compiling. That sends the 'r' key as input to MuPDF, which refreshes it. That's (IMHO) better than an auto-refresh, and never tries to update when it shouldn't.

Cached

Vim

In fact, I now have gvim set up with an autocmd to save, compile LaTeX and update MuPDF in such a way that the preview live-updates as I type. It emulates gummi, but with an editor that doesn't suck. I tried to make this work with Zathura, but if a compilation failed, Zathura would get stuck because of the corrupted PDF and stop auto-updating. But with the above, MuPDF only refreshes when the compilation was successful, so it never tries to load a corrupted PDF.

(It sorta works with Evince's autoupdate, since it doesn't get 'stuck' the way Zathura does, but it goes much slower, since it's a much heavier program than MuPDF.) MuPDF is the only thing fast enough to 'almost' keep up with the source screen.

Vim To The Rescue: PDF Preview - DEV Community

Last edited by frabjous (2010-10-20 21:14:22)