mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	ctrl+del already has a standard behavior so removing it as a shortcut to delete note
This commit is contained in:
		
							parent
							
								
									b2776954a1
								
							
						
					
					
						commit
						0ce8d1e7e8
					
				@ -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() {
 | 
			
		||||
 | 
			
		||||
@ -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: "----"},
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user