mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 01:01:26 +08:00
ctrl+. shortcut for scroll to current note which also allows to switch quickly to tree from editor
This commit is contained in:
parent
eee06a4b90
commit
125012cba7
1 changed files with 2 additions and 0 deletions
|
@ -650,6 +650,8 @@ const noteTree = (function() {
|
||||||
createNote(node, node.data.note_id, 'into', node.data.is_protected);
|
createNote(node, node.data.note_id, 'into', node.data.is_protected);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).bind('keydown', 'ctrl+.', scrollToCurrentNote);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
reload,
|
reload,
|
||||||
collapseTree,
|
collapseTree,
|
||||||
|
|
Loading…
Reference in a new issue