]> git.lizzy.rs Git - micro.git/blobdiff - cmd/micro/settings.go
Make settings capitalization consistent
[micro.git] / cmd / micro / settings.go
index 0b0149d8374bed24b9286fe2ee31d7b5d14a8355..6a99d2cf14b6b0f7e4f27c45728b038926382ed5 100644 (file)
@@ -204,6 +204,7 @@ func DefaultGlobalSettings() map[string]interface{} {
                "ignorecase":     false,
                "indentchar":     " ",
                "infobar":        true,
+               "keymenu":        false,
                "mouse":          true,
                "rmtrailingws":   false,
                "ruler":          true,
@@ -212,8 +213,8 @@ func DefaultGlobalSettings() map[string]interface{} {
                "scrollspeed":    float64(2),
                "scrollmargin":   float64(3),
                "softwrap":       false,
-               "splitRight":     true,
-               "splitBottom":    true,
+               "splitright":     true,
+               "splitbottom":    true,
                "statusline":     true,
                "sucmd":          "sudo",
                "syntax":         true,
@@ -251,8 +252,8 @@ func DefaultLocalSettings() map[string]interface{} {
                "scrollspeed":    float64(2),
                "scrollmargin":   float64(3),
                "softwrap":       false,
-               "splitRight":     true,
-               "splitBottom":    true,
+               "splitright":     true,
+               "splitbottom":    true,
                "statusline":     true,
                "syntax":         true,
                "tabmovement":    false,
@@ -312,7 +313,7 @@ func SetOption(option, value string) error {
                }
        }
 
-       if option == "infobar" {
+       if option == "infobar" || option == "keymenu" {
                for _, tab := range tabs {
                        tab.Resize()
                }