Commit 91215a80 authored by Akikonata's avatar Akikonata

added short key

parent af3b15e6
var keymap = KityMinder.keymap = {
'Backspace' : 8,
'Tab' : 9,
'Enter' : 13,
var keymap = KityMinder.keymap = {
'Backspace': 8,
'Tab': 9,
'Enter': 13,
'Shift' : 16,
'Control' : 17,
'Alt' : 18,
'CapsLock' : 20,
'Shift': 16,
'Control': 17,
'Alt': 18,
'CapsLock': 20,
'Esc': 27,
'Spacebar' : 32,
'Spacebar': 32,
'PageUp' : 33,
'PageDown' : 34,
'End' : 35,
'Home' : 36,
'PageUp': 33,
'PageDown': 34,
'End': 35,
'Home': 36,
'Left' : 37,
'Up' : 38,
'Right' : 39,
'Down' : 40,
'Left': 37,
'Up': 38,
'Right': 39,
'Down': 40,
'Insert' : 45,
'Insert': 45,
'Del' : 46,
'Del': 46,
'NumLock' : 144,
'NumLock': 144,
'Cmd' : 91,
'Cmd': 91,
'F2' : 113,
'F3' : 114,
'F4' : 115,
'F2': 113,
'F3': 114,
'F4': 115,
'=' : 187,
'-' : 189,
'=': 187,
'-': 189,
"b" : 66,
'i' : 73,
"b": 66,
'i': 73,
//回退
'z' : 90,
'y' : 89,
'z': 90,
'y': 89,
//粘贴
'v' : 86,
'x' : 88,
'v': 86,
'x': 88,
's' : 83,
's': 83,
'n' : 78,
'notContentInput':{
8:1,
46:1,
13:1,
9:1,
33:1,
34:1,
35:1,
36:1,
16:1,
17:1,
18:1,
'n': 78,
'/': 191,
'.': 190,
'notContentInput': {
8: 1,
46: 1,
13: 1,
9: 1,
33: 1,
34: 1,
35: 1,
36: 1,
16: 1,
17: 1,
18: 1,
//上下左右
37:1,38:1,39:1,40:1
37: 1,
38: 1,
39: 1,
40: 1
},
'isSelectedNodeKey':{
'isSelectedNodeKey': {
//上下左右
37:1,38:1,39:1,40:1,
13:1,
9:1
37: 1,
38: 1,
39: 1,
40: 1,
13: 1,
9: 1
}
};
\ No newline at end of file
......@@ -215,7 +215,8 @@ KityMinder.registerModule( "Expand", function () {
}
},
'addShortcutKeys': {
"ExpandNode": "ctrl+/", //expand
"CollapseNode": "ctrl+." //collapse
},
'commands': {
'ExpandNode': ExpandNodeCommand,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment