代码拉取完成,页面将自动刷新
同步操作将从 tamlok/vnote 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Ctrl
对应于Command
,在Vim模式下除外。Ctrl+E E
Ctrl+Alt+N
Ctrl+F
Ctrl+Alt+F
Ctrl+Q
Ctrl+J
/Ctrl+K
Ctrl+J
和Ctrl+K
导航。Ctrl+Left Mouse
Ctrl+Shift+T
Ctrl+Alt+L
Ctrl+T
Ctrl+G
Ctrl+8
/Ctrl+9
H
/J
/K
/L
Ctrl+U
Ctrl+D
gg
/G
Ctrl + +/-
Ctrl+Wheel
Ctrl+0
<N>[[
:跳转到上N
个标题;<N>]]
: 跳转到下N
个标题;<N>[]
:跳转到上N
个同层级的标题;<N>][
:跳转到下N
个同层级的标题;<N>[{
:跳转到上N
个高一层级的标题;<N>]}
:跳转到下N
个高一层级的标题;/
或?
向前或向后查找
N
:查找下一个匹配;Shift+N
:查找上一个匹配;:
执行Vim命令
:q
:关闭当前笔记;:noh[lsearch]
:清空查找高亮;Ctrl+S
Ctrl + +/-
Ctrl+Wheel
Ctrl+0
Ctrl+J/K
Ctrl+N/P
Ctrl+N/P
Ctrl+J/K
Ctrl+E
Enter
Ctrl+[
or Escape
Ctrl+B
Ctrl+B
退出。如果已经选择文本,则将当前选择文本加粗。Ctrl+I
Ctrl+I
退出。如果已经选择文本,则将当前选择文本改为斜体。Ctrl+D
Ctrl+D
退出。如果已经选择文本,则将当前选择文本改为删除线。Ctrl+;
Ctrl+;
退出。如果已经选择文本,则将当前选择文本改为行内代码。Ctrl+M
Ctrl+M
退出。如果已经选择文本,则将当前选择文本嵌入到代码块中。Ctrl+L
Ctrl+'
Ctrl+H
Ctrl+W
Ctrl+U
Ctrl+<Num>
<Num>
的标题。<Num>
应该是1到6的一个数字。如果已经选择文本,则将当前选择文本改为标题。Ctrl+7
Tab
/Shift+Tab
Shift+Enter
Shift+Left
, Shift+Right
, Shift+Up
, Shift+Down
Ctrl+Shift+Left
, Ctrl+Shift+Right
Ctrl+Shift+Up
, Ctrl+Sfhit+Down
Shift+Home
, Shift+End
Ctrl+Shift+Home
, Ctrl+Shift+End
VNote支持自定义部分标准快捷键(但并不建议这么做)。VNote将快捷键信息保存在用户配置文件vnote.ini
中的[shortcuts]
和[captain_mode_shortcuts]
两个小节。
例如,默认的配置可能是这样子的:
[shortcuts]
; Define shortcuts here, with each item in the form "operation=keysequence".
; Leave keysequence empty to disable the shortcut of an operation.
; Custom shortcuts may conflict with some key bindings in edit mode or Vim mode.
; Ctrl+Q is reserved for quitting VNote.
; Leader key of Captain mode
CaptainMode=Ctrl+E
; Create a note in current folder
NewNote=Ctrl+Alt+N
; Save current note
SaveNote=Ctrl+S
; Close current note
CloseNote=
; Open file/replace dialog
Find=Ctrl+F
; Find next occurence
FindNext=F3
; Find previous occurence
FindPrevious=Shift+F3
[captain_mode_shortcuts]
; Define shortcuts in Captain mode here.
; There shortcuts are the sub-sequence after the CaptainMode key sequence
; in [shortcuts].
; Enter Navigation mode
NavigationMode=W
; Show attachment list of current note
AttachmentList=A
; Locate to the folder of current note
LocateCurrentFile=D
; Toggle Expand mode
ExpandMode=E
; Alternate one/two panels view
OnePanelView=P
; Discard changes and enter read mode
DiscardAndRead=Q
; Toggle Tools dock widget
ToolsDock=T
; Close current note
CloseNote=X
; Show shortcuts help document
ShortcutsHelp=Shift+?
; Flush the log file
FlushLogFile=";"
; Show opened files list
OpenedFileList=F
; Activate the ith tab
ActivateTab1=1
ActivateTab2=2
ActivateTab3=3
ActivateTab4=4
ActivateTab5=5
ActivateTab6=6
ActivateTab7=7
ActivateTab8=8
ActivateTab9=9
; Alternate between current and last tab
AlternateTab=0
; Activate next tab
ActivateNextTab=J
; Activate previous tab
ActivatePreviousTab=K
; Activate the window split on the left
ActivateSplitLeft=H
; Activate the window split on the right
ActivateSplitRight=L
; Move current tab one split left
MoveTabSplitLeft=Shift+H
; Move current tab one split right
MoveTabSplitRight=Shift+L
; Create a vertical split
VerticalSplit=V
; Remove current split
RemoveSplit=R
每一项配置的形式为操作=按键序列
。如果按键序列
为空,则表示禁用该操作的快捷键。
注意,Ctrl+Q
保留为退出VNote。
为了更有效地利用快捷键,VNote支持 舰长模式。
按前导键Ctrl+E
后,VNote会进入舰长模式。在舰长模式中,VNote会支持更多高效的快捷操作。
E
Y
T
Shift+#
F
A
X
J
K
1
- 9
0
D
Q
V
R
Shift+|
=
H
L
Shift+H
Shift+L
M
S
O
I
C
Shift+?
在舰长模式中,W
命令会进入 展览模式。在展览模式中,VNote会在常用的主要部件上显示至多两个字母,此时输入对应的字母即可跳转到该部件中,从而实现快速切换焦点并触发功能。
VNote支持一个简单但有用的Vim模式,包括 正常, 插入, 可视, 可视行 模式。
VNote支持以下几个Vim的特性:
r
, s
, S
, i
, I
, a
, A
, c
, C
, o
, O
;d
, c
, y
, p
, <
, >
, gu
, gU
, J
, gJ
, ~
;h/j/k/l
, gj/gk/g0
, Ctrl+U
, Ctrl+D
, gg
, G
, 0
, ^
, {
, }
, $
;a-z
;"
, _
, +
, a-z
(A-Z
);Ctrl+O
and Ctrl+I
);Space
)
<leader>y/d/p
等同于 "+y/d/p
, 从而可以访问系统剪切板;<leader><Space>
清除查找高亮;<leader>w
保存笔记;zz
, zb
, zt
;u
和 Ctrl+R
撤销和重做;i/a
:word, WORD, ''
, ""
, ` `
, ()
, []
, <>
, {}
;:w
, :wq
, :x
, :q
, :q!
, :noh[lsearch]
;[[
:跳转到上一个标题;]]
: 跳转到下一个标题;[]
:跳转到上一个同层级的标题;][
:跳转到下一个同层级的标题;[{
:跳转到上一个高一层级的标题;]}
:跳转到下一个高一层级的标题;/
和 ?
开始查找
n
和 N
查找下一处或上一处;Ctrl+N
和 Ctrl+P
浏览查找历史;Ctrl+R
读取指定寄存器的值;Ctrl+O
在插入模式中临时切换为正常模式;/
VNote目前暂时不支持Vim的宏和重复(.
)特性。
在VNote上享受Vim的美好时光吧!
Ctrl+J
和 Ctrl+K
浏览导航;Ctrl+N
和 Ctrl+P
在搜索结果中导航;此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。