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


27

我喜欢mupdf的速度,但是由于缺少文档及其(不必要的)超小型界面(没有菜单栏或上下文菜单)而感到恼火。是否存在此应用程序的键盘快捷键列表?官方网站上的手册链接已失效。

我只知道以下快捷方式:

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

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

Answers:


29

复制粘贴自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.

4
谢谢; 这个man命令似乎比我想象的要有用。:-)
沙丘

1
@Dune manapropos
dearN

1
@Dune该man命令应该始终是任何CLI实用程序的第一站。在大多数情况下,您会找到所需的东西。
Elder Geek 2015年

15

从源代码中获取,这是所有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+ w和启用wCAPS LOCK的同时激活快捷方式(上)。类似地,w同时按下w(CL关闭)和SHIFT+ w(CL开启)将激活(下部)。这是因为键击在内部被视为字符,这使得SHIFT与CL输入的高音W 难以区分。

mupdf不会监视文件是否更改。同样,在不更改页面的情况下进行缩放,调整和移动将不会重新加载文档,而所有其他移动(和r)都将(或者更好的是-将重新加载单个页面)。但是mupdf要注意SIGHUP,这意味着它可能被迫用killall -s SIGHUP mupdf或类似的方法重新加载当前页面,这在Vim&Latex这样的环境中显得无价之宝。

最后,

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

似乎很认真地激活了错误的保存功能,并且仅在错误的调试模式下可用。邓诺(Dunno)他们的目的是什么(或者我只是在戏弄-您选择)。


1
我一直在寻找SIGHUP方法来自动刷新muPDF。谢谢!我相信它也会帮助其他人。
安德烈·赫尔曼·贝萨拉

1

官方文件中列出的键绑定。按下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。这没有记录,但是很直观。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.