Add key bindings for Control-End and Control-Home
This commit is contained in:
parent
3ce17ef50e
commit
01ddab9597
1 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ ace.KeyBinding = function(element, editor) {
|
|||
this.selection.selectFileStart();
|
||||
};
|
||||
|
||||
this["Control-Up"] = function() {
|
||||
this["Control-Home"] = this["Control-Up"] = function() {
|
||||
this.editor.navigateFileStart();
|
||||
};
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ ace.KeyBinding = function(element, editor) {
|
|||
this.selection.selectFileEnd();
|
||||
};
|
||||
|
||||
this["Control-Down"] = function() {
|
||||
this["Control-End"] = this["Control-Down"] = function() {
|
||||
this.editor.navigateFileEnd();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue