]> git.lizzy.rs Git - micro.git/blobdiff - internal/config/globals.go
Add buffer.WordAt (#2070)
[micro.git] / internal / config / globals.go
index b1dacd2c91e21c11d28a6abf084cc438cd25f2d0..50793b15aa9651360da0f8bb6d7024f6947166d7 100644 (file)
@@ -4,4 +4,12 @@ const (
        DoubleClickThreshold = 400 // How many milliseconds to wait before a second click is not a double click
 )
 
-var Bindings map[string]string
+var Bindings map[string]map[string]string
+
+func init() {
+       Bindings = map[string]map[string]string{
+               "command":  make(map[string]string),
+               "buffer":   make(map[string]string),
+               "terminal": make(map[string]string),
+       }
+}