当前位置: 首页>>技术教程>>正文


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

, ,

问题描述

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

我只知道以下快捷方式:

  • 适合宽度:Shift + w

  • 适合身高:Shift + h

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

最佳回答

来自man mupdf的Copy-pasted:

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.

次佳回答

从源代码中获取,这是所有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步长为hard-coded。

与在Vim中一样,快捷方式W(上部)将通过在CCAP LOCK打开的情况下按SHIFT + w并按w来激活。同样,将同时按下w(关闭CL)和SHIFT + w(打开CL)激活w(下部)。这是因为击键在内部被视为字符,这使得用SHIFT产生的高音W与用CL输入的高音W不能区分。

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

最后,

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

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

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/11016.html,未经允许,请勿转载。