mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:26:08 +08: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
					
				
					 2 changed files with 1 additions and 7 deletions
				
			
		|  | @ -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…
	
	Add table
		
		Reference in a new issue