Added OutdentLine action

This commit is contained in:
Jon Craton
2016-10-15 12:47:15 -04:00
parent fe0dce0960
commit cc9342df9d
2 changed files with 27 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ var bindingActions = map[string]func(*View, bool) bool{
"MoveLinesDown": (*View).MoveLinesDown,
"IndentSelection": (*View).IndentSelection,
"OutdentSelection": (*View).OutdentSelection,
"OutdentLine": (*View).OutdentLine,
"Paste": (*View).Paste,
"PastePrimary": (*View).PastePrimary,
"SelectAll": (*View).SelectAll,
@@ -386,7 +387,7 @@ func DefaultBindings() map[string]string {
"Alt-CtrlH": "DeleteWordLeft",
"Alt-Backspace": "DeleteWordLeft",
"Tab": "IndentSelection,InsertTab",
"Backtab": "OutdentSelection",
"Backtab": "OutdentSelection,OutdentLine",
"CtrlO": "OpenFile",
"CtrlS": "Save",
"CtrlF": "Find",