apvlv —
PDF/DJVU/EPUB/HTML/TXT viewer with vim-like
behaviour
apvlv is a PDF/DJVU/EPUB/HTML/TXT viewer, which behaves like vim.
-
-c
file
- Load configuration from
file instead of the default
~/.apvlvrc
- -h
- Show help message and exit
- -v
- Show version and exit
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, h
- 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
- v
- Select a area
- C-v
- Select a rectangle area
- y
- copy the select area text to clipboard
- c
- toggle content display
- U
- underline selected text
- A
- annotate selected text
- C
- comment selected text
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.
- content = yes/no
- Show content view first
- content_follow_mode =
mode
- Set default content follow mode
- none
- Not follow any content, just by user press Enter.
- page
- Just follow page of book.
- always
- Always follow any resources.
- continuous = yes/no
- Show PDF/DJVU/EPUB/HTML/TXT pages continuously or not.
- continuouspad = int
- Padding between pages for continuous = yes
- autoscrollpage = yes/no
- Enable/Disable scrolling the pages when hitting a page
tail/head
- noinfo = yes/no
- Disable/Enable the usage of ~/.apvlvinfo
- pdfcache = int
- Set pdf cache size
- [no]cache = yes/no
- Disable/Enable cache
- scrollbar = yes/no
- Set show scrollbar or not
- visualmode = yes/no
- Set use visual mode to select and copy text 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 curcor to clipboard
- line
- Selection a line under the curcor to clipboard
- page
- Selection a page under the curcor to clipboard
- guioptions = m/T/mT
- Weather display menu, toolbar or mean and toolbar.
- autoreload = int
- If auto reload document after some seconds
- inverted = yes/no
- If use inverted mode for pdf page
- background = color
- Set background color
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
- :content
- toggle content display
apvlv was written by Alf <
[email protected]>.
This manual page was originally written by Stefan Ritter
<
[email protected]> for the Debian project (but may be used by others),
and was rewritten more beautifully by Daniel Friesel
<
[email protected]>.