From c409f1cc07f5c0e4b6e9766ab9bb10f1ebd92015 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Sun, 7 Aug 2016 21:41:12 -0400 Subject: [PATCH] Bind OutdentSelection to ShiftTab (Backtab) I was under the impression that tcell couldn't detect shift tab key presses, but this was incorrect. It turns out that tcell just calls it backtab. This commit makes backtab the default binding for OutdentSelection. See #203 --- cmd/micro/bindings.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/micro/bindings.go b/cmd/micro/bindings.go index 0d7a034b..1053a962 100644 --- a/cmd/micro/bindings.go +++ b/cmd/micro/bindings.go @@ -370,6 +370,7 @@ func DefaultBindings() map[string]string { "Alt-Backspace": "DeleteWordLeft", "Alt-Backspace2": "DeleteWordLeft", "Tab": "IndentSelection,InsertTab", + "Backtab": "OutdentSelection", "CtrlO": "OpenFile", "CtrlS": "Save", "CtrlF": "Find",