anchor.diff:    keyMapping = types.submodule {
       options = {
         mode = mkOption {
  -        type = types.enum [
  -          "insert"
  -          "normal"
  -          "prompt"
  -          "menu"
  -          "user"
  -          "goto"
  -          "view"
  -          "object"
  -        ];
  +        type = types.str;
           example = "user";
           description = ''
             The mode in which the mapping takes effect.
  
positive.code:           if useBuiltinKeyParser then "true" else "false"
          }"
        ];
  
      keyMappingString = km:
        concatStringsSep " " [
  
negative.code:         ++ [ "# UI options" ]
          ++ optional (ui != null) "set-option global ui_options ${uiOptions}"
  
          ++ [ "# User modes" ] ++ userModeStrings ++ [ "# Key mappings" ]
          ++ map keyMappingString keyMappings
  
          ++ [ "# Hooks" ] ++ map hookString hooks);
    in pkgs.writeText "kakrc"
  