ctrl+del already has a standard behavior so removing it as a shortcut to delete note

This commit is contained in:
azivner 2018-10-06 23:16:43 +02:00
parent b2776954a1
commit 0ce8d1e7e8
2 changed files with 1 additions and 7 deletions

View file

@ -586,12 +586,6 @@ window.glob.createNoteInto = createNoteInto;
utils.bindShortcut('ctrl+p', createNoteInto);
utils.bindShortcut('ctrl+del', () => {
const node = getCurrentNode();
treeChangesService.deleteNodes([node]);
});
utils.bindShortcut('ctrl+.', scrollToCurrentNote);
$(window).bind('hashchange', function() {

View file

@ -82,7 +82,7 @@ const contextMenuOptions = {
menu: [
{title: "Insert note here <kbd>Ctrl+O</kbd>", cmd: "insertNoteHere", uiIcon: "ui-icon-plus"},
{title: "Insert child note <kbd>Ctrl+P</kbd>", cmd: "insertChildNote", uiIcon: "ui-icon-plus"},
{title: "Delete <kbd>Ctrl+Del</kbd>", cmd: "delete", uiIcon: "ui-icon-trash"},
{title: "Delete", cmd: "delete", uiIcon: "ui-icon-trash"},
{title: "----"},
{title: "Edit branch prefix <kbd>F2</kbd>", cmd: "editBranchPrefix", uiIcon: "ui-icon-pencil"},
{title: "----"},