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

This commit is contained in:
azivner 2017-12-17 16:56:30 -05:00
parent eee06a4b90
commit 125012cba7

View file

@ -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,