apvlv(1)

πŸ“¦
version 0.7.0-final Β· 3 versions
, in debian trixie, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– apvlv β€” bestie edition πŸ’–

okay so welcome to apvlv(1), straight out of the General Commands Manual section πŸŽ€ this is the page for apvlv, and trust me, if you live in a terminal and you read things, this is your moment. periodt.


✨ NAME ✨

apvlv β€” a PDF/DJVU/EPUB/HTML/TXT/FB2/CZW viewer with vim-like behaviour πŸ¦‹

like… it opens your documents AND it moves like vim?? it's giving main character energy fr fr πŸ‘‘


🌸 SYNOPSIS 🌸

apvlv [options] [file]

πŸ’… DESCRIPTION πŸ’…

apvlv is a PDF/DJVU/EPUB/HTML/TXT/FB2/CZW viewer, which behaves like vim.

that's it. that's the whole vibe. you already know if this is for you πŸ’œ


πŸŽ€ OPTIONS πŸŽ€

  • -c file β€” load configuration from file instead of the default ~/.apvlvrc. yes bestie, you can have a custom rc file, go off πŸ’–
  • -h β€” show help message and exit πŸ™ˆ
  • -v β€” show version and exit ✨

πŸ‘‘ COMMANDS πŸ‘‘

The following command keys can be used inside apvlv. Some of them may be prefixed by a number (as in pressing "13G"), this is indicated by a count in their description. Unless noted otherwise, the default value for the number is 1.

  • o β€” display file chooser to open a PDF/DJVU/EPUB/HTML/TXT file πŸ“
  • O β€” select a directory to display
  • t β€” display file chooser to open a PDF/DJVU/EPUB/HTML/TXT file in a new tab
  • T β€” select a directory to display in a new tab
  • R β€” reload the current file πŸ”„
  • r β€” rotate the document clockwise by 90 degrees
  • G β€” show page number count
  • gt β€” show next tab
  • gT β€” show previous tab
  • PageDown, C-f β€” go forward count pages
  • PageUp, C-b β€” go backward count pages
  • C-d β€” go forward count half pages
  • C-u β€” go backward count half pages
  • H β€” scroll to page head
  • M β€” scroll to page middle
  • L β€” scroll to page bottom
  • s β€” skip some pages count
  • C-p, Up, k β€” scroll up count units
  • C-n, Down, j β€” scroll down count units
  • Backspace, Left, h β€” scroll left count units
  • Space, Right, l β€” scroll right count units
  • / string β€” search forwards for string πŸ”
  • ? string β€” search backwards for string πŸ”
  • f β€” toggle between fullscreen and window mode
  • zi β€” zoom in
  • zo β€” zoom out
  • zw β€” zoom to fit window width
  • zh β€” zoom to fit window height
  • m char β€” mark the current position to char, so that it can be recalled by pressing char
  • ' char β€” return to the mark position char
  • '' β€” return to the last position
  • q β€” close the current window
  • ZZ β€” quit the viewer with ZZ, like Vim 🫑
  • c β€” toggle directory display

🌈 SETTINGS 🌈

These can be set in ~/.apvlvrc with "set setting [= value]".

  • fullscreen = yes/no β€” enable/disable fullscreen
  • width = int β€” default window width
  • height = int β€” default window height
  • fix_width = int β€” fixed width
  • fix_height = int β€” fixed height
  • defaultdir = path β€” default directory for the open dialogue
  • zoom = mode β€” set default zoom level
    • normal β€” the application sets the default zoom value
    • fitwidth β€” fit pages to window width
    • fitheight β€” fit pages to window height
    • float β€” 1.0 for 100%, 2.0 for 200%, etc.
  • continuous = yes/no β€” show PDF/DJVU/EPUB/HTML/TXT pages continuously or not.
  • autoscrollpage = yes/no β€” enable/disable scrolling the pages when hitting a page tail/head
  • noinfo = yes/no β€” disable/enable the usage of ~/.apvlvinfo
  • max_info = int β€” max file information will be saved, default is 100
  • scrollbar = yes/no β€” set show scrollbar or not
  • wrapscan = yes/no β€” set wrapscan to search text or not
  • doubleclick = action β€” set default double click action
    • none β€” selection nothing
    • word β€” selection a word under the cursor to clipboard
    • line β€” selection a line under the cursor to clipboard
    • page β€” selection a page under the cursor to clipboard
  • guioptions = mTsS β€” weather display menu, toolbar, status and status tool.
  • .pdf:engine = MuPDF/Poppler/QtPdf β€” which engine to render .pdf file
  • .epub:engine = MuPDF/Web β€” which engine to render .epub file
  • .fb2:engine = MuPDF/Web β€” which engine to render .fb2 file
  • ocr:lang = eng+chi_sim β€” pretrained languages which tesseract load to process
  • notes:dir = dir β€” directory to save ebook notes
  • autoreload = int β€” if auto reload document after some seconds
  • inverted = yes/no β€” if use inverted mode for pdf page
  • background = color β€” set background color

πŸ¦‹ PROMPT πŸ¦‹

Like the COMMANDS, but prefixed with a colon :

  • :h[elp] β€” display the help document
  • :q[uit] β€” close the current window
  • :o[pen] file β€” open file
  • :doc file β€” load file into the current window
  • :TOtext [file] β€” translate file (or the current page) to a text file
  • :pr[int] β€” print the current document
  • :tabnew β€” create a new tab
  • :sp β€” horizontally split the current window
  • :vsp β€” vertically split the current window
  • :fp, :forwardpage [int] β€” go forward int pages (1 by default)
  • :bp, :prewardpage [int] β€” go backward int pages (1 by default)
  • :g, :goto int β€” go to page int
  • :z[oom] mode β€” set zoom to mode (see "set zoom" in SETTINGS)
  • : int β€” go to page int
  • :directory β€” toggle directory display

πŸ’œ AUTHORS πŸ’œ

apvlv was written by Alf <naihe2010@126.com>.

This manual page was originally written by Stefan Ritter <xeno@thehappy.de> for the Debian project (but may be used by others), and was rewritten more beautifully by Daniel Friesel <foobar@derf.homelinux.org>.


and that's the whole page bestie!! this one's from the Debian manual set, dated December 24, 2009 πŸŽ„ go read something cute, you got this πŸ’–βœ¨πŸ«Ά