Skip to content

Commit

Permalink
Make shift-delete/shift-backspace behavior match non-shift behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Sep 24, 2013
1 parent bc07cbd commit 6c62022
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/codemirror.js
Original file line number Diff line number Diff line change
Expand Up @@ -3521,7 +3521,8 @@ window.CodeMirror = (function() {
keyMap.basic = {
"Left": "goCharLeft", "Right": "goCharRight", "Up": "goLineUp", "Down": "goLineDown",
"End": "goLineEnd", "Home": "goLineStartSmart", "PageUp": "goPageUp", "PageDown": "goPageDown",
"Delete": "delCharAfter", "Backspace": "delCharBefore", "Tab": "defaultTab", "Shift-Tab": "indentAuto",
"Delete": "delCharAfter", "Shift-Delete": "delCharAfter", "Backspace": "delCharBefore",
"Shift-Backspace": "delCharBefore", "Tab": "defaultTab", "Shift-Tab": "indentAuto",
"Enter": "newlineAndIndent", "Insert": "toggleOverwrite"
};
// Note that the save and find-related commands aren't defined by
Expand Down

0 comments on commit 6c62022

Please sign in to comment.