是否有 mupdf 键盘快捷键的完整列表?

是否有 mupdf 键盘快捷键的完整列表?

我喜欢多媒体PDF的速度,但我对缺乏文档和(不必要的)超简约界面感到恼火,没有菜单栏或上下文菜单。此应用程序是否有键盘快捷键列表?

我只知道以下快捷方式:

  • 适合宽度:Shift+w
  • 适合身高:Shift+h

有哪些可用的键盘快捷键?在哪里可以找到它们?

答案1

复制粘贴自man mupdf

A description of each of the supported options is included below.

-p password
        Uses  the  given  password  to  open an encrypted PDF file.  The
        password is tried both as user and owner password.

-r resolution
        Changes the initial zoom level, specified as the  resolution  in
        dpi.  The default value is 72.

MOUSE AND KEY BINDINGS

In  addition to the key bindings described below, the mouse can also be
used. Clicking the left mouse button follows links within the PDF while
dragging  with  the  left mouse button pans the page. Dragging with the
right mouse button selects an area and copies the enclosed text to  the
clipboard  buffer.  Using the scroll-wheel while pressing Control zooms
in/out, if Shift is pressed on the other hand then the page is panned.

L, R   Rotate page left (clockwise) or right (counter-clockwise).

h, j, k, l
        Scroll page left, down, up, or right.

+, -   Zoom in or out.

w      Shrinkwrap window to fit the page.

r      Reload file.

. pgdn right space
        Go to the next page

, pgup left b
        Go to the previous page

<, >   Skip back/forth 10 pages at a time.

m      Mark page for snap back.

t      Pop back to the latest mark.

[0-9]m Save the current page number in the numbered register.

[0-9]t Go to the page saved in the numbered register.

123g   Go to page 123.

/      Search for text.

n, N   Find the next/previous search result.

c      Toggle between color and grayscale rendering.

答案2

摘自源代码,这是一份详尽的清单所有 mupdf 快捷方式(提供任何可能有用的信息)。

←,→
h,j,k,l     navigate
            (even if the page is horizontal only j and k will change page;
            j and k will align the bottom (or the top) of the page with
            the bottom (or the top) of the window before changing page)

→,SPACE     next page
←,b
BACKSPACE   previous page
            (all these won't change the placement of the page
            in the window)

. ,         next/previous page
            (these will align the top (or bottom) of the page with
            the top (or bottom) of the window)

>,<         skip forth/back 10 pages
            (>< will align the top of the page with the top of the window)

[n]g
[n]ENTER    go to page n
            (will go to the first page with no number)

G           go to last page

[0-9]m,t    set and go to mark

+,=         zoom in
-           zoom out
            (note that zooming is restricted to certain 'levels' only -
            18, 24, 36, 54, 72, 96, 120, 144, 180, 216 and 288 dpi)

L,R         rotate 90° (counter)clockwise

W,H         fit to width, heigth
Z           autofit (fit to height if the page is vertical,
                     to width if the page is horizontal)

w           resize window to fit the page

f           fullscreen

/,?         search forward/backward
n,N         next/previous search term
            (n and N are swapped if the search is backward)

I           invert colors
C           toggle gray/redscale
c           choose grayscale or redscale

p           presentation mode
            (there will be a fade when changing pages)

r           reload the page

q           quit

一些信息:

缩放中的 dpi 步骤是硬编码的。

与 Vim 一样,W按下SHIFT+wwCAPS LOCK 开启时按下都可以激活 (upper) 等快捷键。同样,w按下w(CL 关闭时) 和SHIFT+ w(CL 开启时) 都可以激活 (lower)。这是因为按键在内部被视为字符,这使得用 产生的大写 W 与SHIFT用 CL 输入的 W 无法区分。

mupdf不监视文件是否发生变化。此外,缩放、调整和移动而不更改页面不会重新加载文档,而所有其他移动(和r)则会(或更好 - 将重新加载单个页面)。但是mupdf会监视SIGHUP,这意味着可以使用或类似命令强制重新加载当前页面killall -s SIGHUP mupdf,这在 Vim&Latex 等环境中非常有用。

最后,

S           save
a,s         rotate 15° (counter)clockwise

似乎分别激活了一个神秘的节省功能,并且仅在神秘的调试模式。我不知道它们是干什么用的。

答案3

官方文档列出了 MuPDF OpenGL Viewer 的按键绑定(又名mupdf-gl;但在某些系统中,它是通过以下方式执行的mupdf也通过执行),它取代了较旧的基于 x11 和 win32 的查看器. 按下F1查看器也可以。

根据手册,1.11 版本中的按键绑定如下:

F1          Display help.
i           Display document metadata.
o           Toggle display of outline.
L           Toggle display of links.
r           Reload document.
q           Quit viewer.

f           Toggle fullscreen.
w           Shrinkwrap window to fit page.
W           Fit page width to window.
H           Fit page height to window.
Z           Fit page size to window.
[number] z  Set zoom resolution in DPI.
+           Zoom in.
-           Zoom out.
[           Rotate counter-clockwise.
]           Rotate clockwise.
[arrows]
  or        Pan page in small increments.
h, j, k, l

b           Smart move one screenful backward.
[space]     Smart move one screenful forward.
[comma]
  or        Go one page backward.
[page up]
[period]
  or        Go one page forward.
[page down]
<           Go 10 pages backward.
>           Go 10 pages forward.
[number] g  Go to page number.
G           Go to last page.

m           Save current page to navigation history.
t           Go back in navigation history.
T           Go forward in navigation history.
[number] m  Save current page in numbered bookmark.
[number] t  Go to numbered bookmark.

/           Start searching forward.
?           Start searching backward.
n           Continue searching forward.
N           Continue searching backward.

一些命令可以在键前输入数字参数来修改命令。例如,要缩放到 150 dpi,请键入150z

i要隐藏或显示的灰色框F1,请使用Esc。这没有记录,但很直观。

答案4

f   Toggle fullscreen.
w   Shrinkwrap window to fit page.
W   Fit page width to window.
H   Fit page height to window.
Z   Fit page size to window.
[number] z  Set zoom resolution in DPI.
+   Zoom in.
-   Zoom out.
[   Rotate counter-clockwise.
]   Rotate clockwise.
[arrows] or h, j, k, l  Pan page in small increments.
 
b   Smart move one screenful backward.
[space] Smart move one screenful forward.
[comma] or [page up]    Go one page backward.
[period] or [page down] Go one page forward.
[number] g  Go to page number.
G   Go to last page.
 
m   Save current page to navigation history.
t   Go back in navigation history.
T   Go forward in navigation history.
[number] m  Save current page in numbered bookmark.
[number] t  Go to numbered bookmark.
 
/   Start searching forward.
?   Start searching backward.
n   Continue searching forward.
N   Continue searching backward.

相关内容