mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-15 21:37:09 +09:00
Move bindings location in code
This commit is contained in:
@@ -14,9 +14,9 @@ import (
|
||||
"github.com/zyedidia/tcell"
|
||||
)
|
||||
|
||||
var Bindings = DefaultBindings()
|
||||
|
||||
func InitBindings() {
|
||||
config.Bindings = DefaultBindings()
|
||||
|
||||
var parsed map[string]string
|
||||
defaults := DefaultBindings()
|
||||
|
||||
@@ -57,7 +57,7 @@ func BindKey(k, v string) {
|
||||
util.TermMessage("Raw events not supported yet")
|
||||
}
|
||||
|
||||
Bindings[k] = v
|
||||
config.Bindings[k] = v
|
||||
}
|
||||
|
||||
// findKeyEvent will find binding Key 'b' using string 'k'
|
||||
|
||||
Reference in New Issue
Block a user