「Zim」- 快捷键列表

  CREATED BY JENKINSBOT

Zim中的快捷键列表。

  1. 通用快捷键
  2. 侧栏的快捷键
  3. 针对选中文本的快捷键
  4. 改变加速器
  5. Emacs模式

通用快捷键

F9 Toggle visibility of sidepane(s)
<Ctrl>F9 Show all sidepanes
<Ctrl><Space> Toggle focus between index and buffer

opens side pane if index is invisible
(optional see preferences)

<Ctrl><Tab> Focus next inteface element (gtk default)

<Ctrl><Shift><Tab> Focus previous interface element (gtk default)

Esc Close sidepane (when focus is on a side pane)

<Alt><Home> Go to the home page
<Alt><Left> Go one page back in history
<Alt><Right> Go one page forward in history
<Alt><Up> Go one level up in the page hierarchy
<Alt><Down> Go one page down in the page hierarchy

(The actual page is chosen by the history)

<Alt><PgUp> Go to the previous page in the index

<Alt><PgDown> Go to the next page in the index

<Alt>D Go to today’s page

<Ctrl>Q Quit the application
<Ctrl>w Close window

<Ctrl>F Find in the current page
<Ctrl>G Find next
<Shift><Ctrl>G Find previous
<Shift><Ctrl>F Search in all pages
<Ctrl>H Find and Replace

<Ctrl>S Save page (forced)
<Shift><Ctrl>S Save version…
<Ctrl>R Reload page (saves first)
<Ctrl>J Jump to page… (either an existing or a new page)

<Ctrl>L 为选中的文本添加链接。
<Shift><Ctrl>L 创建当前页面链接的文本到剪切版,使用<Ctrl>V粘贴。
<Ctrl>E 显示“编辑链接”弹窗。
<Ctrl>D 插入时间戳。

<Ctrl>1..<Ctrl>5 Make selected text a heading
<Ctrl>9 Make selected text normal
<Ctrl>B Make selected text strong
<Ctrl>I Make selected text italic
<Ctrl>U Make selected text underline (renders highlighted)
<Ctrl>K Make selected text strike-trough
<Ctrl>T Make selected text verbatim text (monospace font)

<Ctrl>Z Undo
<Shift><Ctrl>Z Redo
<Ctrl>Y Redo

<Shift><Ctrl>D Show the calendar dialog

F1 Show the manual
F2 Rename current page
F3 Find next (same as <Ctrl>G)
<Shift>F3 Find previous (same as <Ctrl>G)
F5 Reload page (same as <Ctrl>R)
F12 Toggle checkbox item to ‘OK’
<Shift>F12 Toggle checkbox item to ‘NOK’

此外,GTK文本编辑控件绑定的所有快捷键都可用,因此如 <Ctrl> C,<Ctrl> X,<Ctrl> V,<Ctrl> A等都可以使用。

侧栏的快捷键

The following key bindings works when the tree in the side pane is focussed:

<Ctrl>L Insert a link to the selected page
<Shift><Ctrl>L Copy the selected page to clipboard
<Ctrl>C Copy the selected page to clipboard
<Ctrl>F Search in the page list as shown
Expand all
\ Collapse all

Keyboard navigation of the index
When you click a page in the index with the mouse, this page is opened. However when you navigate the index with keyboard cursor keys, the page that is focused is not actually opened until you press <Space> or <Enter>. This means that there will be two pages highlighted, the page that has the focus and the page that is open. The page that is open is highlighted with bold text, while the focus is typically highlighted in the color of your desktop theme.

针对选中文本的快捷键

在选中的文本前加上着重号,或者‘*’加‘空格’会自动转为着重号。
> Toggle email-style quoting for selected text
<Tab> Indent selected text
<Shift><Tab> Un-indents selected text
<Backspace> Un-indents selected text
x

修改快捷键绑定

Gtk+ implements a feature that allows you to change accelerators (keybindings for menu items) interactively. To use this feature you need to either enable this setting in the settings manager of you desktop environment or add the line:

gtk-can-change-accels = 1
to ~/.gtkrc-2.0 . Zim will remember any changes. If you ever want to reset to the default bindings just remove the “accelmap” file from ~/.config/zim/.

Emacs模式

Zim并不支持Emacs模式,但是GTK+支持。通过向~/.gtkrc-2.0中加入:

gtk-key-theme-nam=”Emacs”

当然如果加入该配置,会使所有的GTK+程序的文本输入都使用Emacs的快捷键。并且如果绑定了Emacs快捷键,就需要解决Emacs模式和Zim之间的快捷键冲突问题。

参考文献

Menu List:http://zim-wiki.org/manual/Help/Menu_Items.html
Key Bindings:http://zim-wiki.org/manual/Help/Key_Bindings.html