add duplicateSelection command
This commit is contained in:
parent
b56f41e9a4
commit
a82c1c52d8
2 changed files with 23 additions and 0 deletions
|
|
@ -319,6 +319,11 @@ exports.commands = [{
|
|||
bindKey: bindKey("Ctrl-D", "Command-D"),
|
||||
exec: function(editor) { editor.removeLines(); },
|
||||
multiSelectAction: "forEach"
|
||||
}, {
|
||||
name: "duplicateSelection",
|
||||
bindKey: bindKey("Ctrl-Shift-D", "Command-Shift-D"),
|
||||
exec: function(editor) { editor.duplicateSelection(); },
|
||||
multiSelectAction: "forEach"
|
||||
}, {
|
||||
name: "togglecomment",
|
||||
bindKey: bindKey("Ctrl-/", "Command-/"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue