Skip to content

Build your personal knowledge base with Trilium Notes

ctrl+. shortcut for scroll to current note which also allows to switch quickly to tree from editor

azivner125012cba779
diff --git a/public/javascripts/note_tree.js b/public/javascripts/note_tree.js
index 42eb8b8421..d53f1fbee8 100644
--- a/public/javascripts/note_tree.js
+++ b/public/javascripts/note_tree.js
@@ -650,6 +650,8 @@ const noteTree = (function() {
createNote(node, node.data.note_id, 'into', node.data.is_protected);
});
+ $(document).bind('keydown', 'ctrl+.', scrollToCurrentNote);
+
return {
reload,
collapseTree,