{
    "//comment" : "This is the default configuration file of VNoteX. User should modify the one in user configuration folder instead of this.",
    "metadata" : {
        "//comment": "When releasing new version, please go through the following configs to check if override is needed.",
        "//Comment": "markdown_editor#override_viewer_resource",
        "version" : "3.15.1"
    },
    "core" : {
        "theme" : "pure",
        "locale" : "",
        "shortcuts" : {
            "FullScreen" : "F11",
            "StayOnTop" : "F10",
            "ExpandContentArea" : "Ctrl+G, E",
            "Settings" : "Ctrl+Alt+P",
            "NewNote" : "Ctrl+Alt+N",
            "NewFolder" : "Ctrl+Alt+S",
            "CloseTab" : "Ctrl+G, X",
            "CloseAllTabs": "",
            "CloseOtherTabs" : "",
            "CloseTabsToTheLeft" : "",
            "CloseTabsToTheRight" : "",
            "NavigationDock" : "Ctrl+G, A",
            "OutlineDock" : "Ctrl+G, U",
            "SearchDock" : "",
            "SnippetDock" : "Ctrl+G, S",
            "LocationListDock" : "Ctrl+G, C",
            "HistoryDock" : "",
            "WindowsDock" : "",
            "TagDock" : "",
            "Search" : "Ctrl+Alt+F",
            "NavigationMode" : "Ctrl+G, W",
            "LocateNode" : "Ctrl+G, D",
            "VerticalSplit" : "Ctrl+G, \\",
            "HorizontalSplit" : "Ctrl+G, -",
            "MaximizeSplit" : "Ctrl+G, Shift+\\",
            "DistributeSplits" : "Ctrl+G, =",
            "RemoveSplitAndWorkspace" : "Ctrl+G, R",
            "NewWorkspace" : "",
            "Export" : "Ctrl+G, T",
            "Quit" : "Ctrl+Q",
            "FlashPage" : "Ctrl+Alt+L",
            "QuickAccess" : "Ctrl+Alt+I",
            "ActivateTab1" : "Ctrl+G, 1",
            "ActivateTab2" : "Ctrl+G, 2",
            "ActivateTab3" : "Ctrl+G, 3",
            "ActivateTab4" : "Ctrl+G, 4",
            "ActivateTab5" : "Ctrl+G, 5",
            "ActivateTab6" : "Ctrl+G, 6",
            "ActivateTab7" : "Ctrl+G, 7",
            "ActivateTab8" : "Ctrl+G, 8",
            "ActivateTab9" : "Ctrl+G, 9",
            "AlternateTab" : "Ctrl+G, 0",
            "ActivateNextTab" : "Ctrl+G, N",
            "ActivatePreviousTab" : "Ctrl+G, P",
            "FocusContentArea" : "Ctrl+G, Y",
            "OpenWithDefaultProgram" : "F9",
            "OneSplitLeft" : "Ctrl+G, H",
            "OneSplitDown" : "Ctrl+G, J",
            "OneSplitUp" : "Ctrl+G, K",
            "OneSplitRight" : "Ctrl+G, L",
            "MoveOneSplitLeft" : "Ctrl+G, Shift+H",
            "MoveOneSplitDown" : "Ctrl+G, Shift+J",
            "MoveOneSplitUp" : "Ctrl+G, Shift+K",
            "MoveOneSplitRight" : "Ctrl+G, Shift+L",
            "OpenLastClosedFile" : "Ctrl+Shift+T",
            "UnitedEntry" : "Ctrl+G, G",
            "Copy" : "Ctrl+C",
            "Cut" : "Ctrl+X",
            "Paste" : "Ctrl+V",
            "Properties" : "F2",
            "Global_WakeUp" : "Ctrl+Alt+U"
        },
        "file_type_suffixes" : [
            {
                "name" : "Markdown",
                "suffixes" : [
                    "md",
                    "mkd",
                    "rmd",
                    "markdown"
                ]
            },
            {
                "name" : "Text",
                "suffixes" : [
                    "txt",
                    "text",
                    "log"
                ]
            }
        ],
        "shortcut_leader_key" : "Ctrl+G",
        "toolbar_icon_size" : 18,
        "docks_tabbar_icon_size" : 20,
        "note_management" : {
            "external_node" : {
                "//comment" : "Wildcard patterns of files and folders to exclude as external files",
                "exclude_patterns" : [
                    ".gitignore",
                    ".git"
                ]
            }
        },
        "recover_last_session_on_start" : true,
        "check_for_updates_on_start" : true,
        "//comment" : "Max count of the history items for each notebook and session config",
        "history_max_count" : 100,
        "per_notebook_history" : false,
        "//comment" : "Line ending policy for config files, platform/lf/crlf/cr",
        "line_ending" : "lf",
        "//comment" : "read/edit",
        "default_open_mode" : "read",
        "united_entry" : {
            "alias" : [
                {
                    "name" : "q",
                    "description" : "Search for folders/files by name in all notebooks",
                    "value" : "find --scope all_notebook --object name --target file --target folder"
                },
                {
                    "name" : "a",
                    "description" : "Search for files by content in all notebooks",
                    "value" : "find --scope all_notebook --object content --target file"
                },
                {
                    "name" : "z",
                    "description" : "Search for files by tag in all notebooks",
                    "value" : "find --scope all_notebook --object tag --target file"
                },
                {
                    "name" : "w",
                    "description" : "Search for notebooks by name in all notebooks",
                    "value" : "find --scope all_notebook --object name --target notebook"
                },
                {
                    "name" : "e",
                    "description" : "Search for folders/files by name in current notebook",
                    "value" : "find --scope notebook --object name --target file --target folder"
                },
                {
                    "name" : "d",
                    "description" : "Search for files by content in current notebook",
                    "value" : "find --scope notebook --object content --target file"
                },
                {
                    "name" : "c",
                    "description" : "Search for files by tag in current notebook",
                    "value" : "find --scope notebook --object tag --target file"
                },
                {
                    "name" : "r",
                    "description" : "Search for folders/files by name in current folder",
                    "value" : "find --scope folder --object name --target file --target folder"
                },
                {
                    "name" : "f",
                    "description" : "Search for files by content in current folder",
                    "value" : "find --scope folder --object content --target file"
                },
                {
                    "name" : "v",
                    "description" : "Search for files by tag in current folder",
                    "value" : "find --scope folder --object tag --target file"
                },
                {
                    "name" : "t",
                    "description" : "Search for files by name in buffers",
                    "value" : "find --scope buffer --object name --target file"
                },
                {
                    "name" : "g",
                    "description" : "Search for files by content in buffers",
                    "value" : "find --scope buffer --object content --target file"
                }
            ]
        }
    },
    "editor" : {
        "core": {
            "toolbar_icon_size" : 16,
            "//comment" : "none/autosave/backupfile",
            "auto_save_policy" : "autosave",
            "backup_file_extension" : "vswp",
            "//comment" : "Where to put the backup file, related to the content file",
            "backup_file_directory" : ".",
            "shortcuts" : {
                "Save" : "Ctrl+S",
                "EditRead" : "Ctrl+T",
                "Discard" : "Ctrl+G, Q",
                "TypeHeading1" : "Ctrl+1",
                "TypeHeading2" : "Ctrl+2",
                "TypeHeading3" : "Ctrl+3",
                "TypeHeading4" : "Ctrl+4",
                "TypeHeading5" : "Ctrl+5",
                "TypeHeading6" : "Ctrl+6",
                "TypeHeadingNone" : "Ctrl+7",
                "TypeBold" : "Ctrl+B",
                "TypeItalic" : "Ctrl+I",
                "TypeStrikethrough" : "",
                "TypeUnorderedList" : "Ctrl+8",
                "TypeOrderedList" : "Ctrl+9",
                "TypeTodoList" : "",
                "TypeCheckedTodoList" : "",
                "TypeCode" : "Ctrl+;",
                "TypeCodeBlock" : "Ctrl+'",
                "TypeMath" : "Ctrl+.",
                "TypeMathBlock" : "Ctrl+G, .",
                "TypeQuote" : "",
                "TypeLink" : "Ctrl+,",
                "TypeImage" : "",
                "TypeTable" : "Ctrl+/",
                "TypeMark" : "Ctrl+G, M",
                "Outline" : "Ctrl+G, O",
                "AltPaste" : "Ctrl+Shift+V",
                "FindAndReplace" : "Ctrl+F",
                "FindNext" : "F3",
                "FindPrevious" : "Shift+F3",
                "ApplySnippet" : "Ctrl+G, I",
                "Tag" : "Ctrl+G, B",
                "Attachment" : "",
                "WordCount" : "",
                "Debug" : "F12",
                "Print" : "",
                "ClearHighlights" : "Ctrl+G, Space"
            },
            "spell_check_auto_detect_language" : false,
            "spell_check_default_dictionary" : "en_US",
            "//comment" : "platform/file/lf/crlf/cr",
            "line_ending" : "lf"
        },
        "text_editor" : {
            "theme" : "",
            "//comment" : "none/absolute/relative",
            "line_number" : "absolute",
            "text_folding" : true,
            "//comment" : "normal/vi",
            "input_mode" : "normal",
            "//comment" : "never/always/bottom",
            "center_cursor" : "never",
            "//comment" : "none/word/anywhere/word_anywhere",
            "wrap_mode": "word_anywhere",
            "expand_tab": true,
            "tab_stop_width": 4,
            "highlight_whitespace": false,
            "//comment" : "Positive to zoom in and negative to zoom out",
            "zoom_delta": 0,
            "spell_check": false
        },
        "markdown_editor" : {
            "override_viewer_resource" : true,
            "viewer_resource" : {
                "template" : "web/markdown-viewer-template.html",
                "resources" : [
                    {
                        "name" : "global_styles",
                        "enabled" : true,
                        "styles" : [
                            "web/css/user.css",
                            "web/css/globalstyles.css"
                        ]
                    },
                    {
                        "name" : "built_in",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/qwebchannel.js",
                            "web/js/eventemitter.js",
                            "web/js/utils.js",
                            "web/js/nodelinemapper.js",
                            "web/js/lrucache.js",
                            "web/js/graphcache.js",
                            "web/js/graphpreviewer.js",
                            "web/js/vnotex.js",
                            "web/js/vxworker.js",
                            "web/js/graphrenderer.js",
                            "web/js/svg-to-image.js",
                            "web/js/computed-style-to-inline-style.js",
                            "web/js/imageviewer.js",
                            "web/js/easyaccess.js",
                            "web/js/crosscopy.js"
                        ],
                        "styles" : [
                            "web/css/imageviewer.css"
                        ]
                    },
                    {
                        "name" : "markdown_viewer",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/markdownviewer.js"
                        ]
                    },
                    {
                        "name" : "markdown_it",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/markdown-it/markdown-it.min.js",
                            "web/js/markdown-it/markdown-it-container.min.js",
                            "web/js/markdown-it/markdown-it-emoji.min.js",
                            "web/js/markdown-it/markdown-it-footnote.min.js",
                            "web/js/markdown-it/markdown-it-front-matter.js",
                            "web/js/markdown-it/markdown-it-imsize.min.js",
                            "web/js/markdown-it/markdown-it-sub.min.js",
                            "web/js/markdown-it/markdown-it-sup.min.js",
                            "web/js/markdown-it/markdown-it-task-lists.js",
                            "web/js/markdown-it/markdown-it-texmath.js",
                            "web/js/markdown-it/markdown-it-inject-linenumbers.js",
                            "web/js/markdown-it/markdownItAnchor.umd.js",
                            "web/js/markdown-it/markdownItTocDoneRight.umd.js",
                            "web/js/markdown-it/markdown-it-implicit-figure.js",
                            "web/js/markdownit.js"
                        ],
                        "styles" : [
                            "web/css/markdownit.css"
                        ]
                    },
                    {
                        "name" : "prism",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/prism/clipboard.min.js",
                            "web/js/prism.js"
                        ]
                    },
                    {
                        "name" : "mermaid",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/mermaid.js"
                        ]
                    },
                    {
                        "name" : "flowchart.js",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/flowchart.js/raphael.min.js",
                            "web/js/flowchart.js/flowchart.min.js",
                            "web/js/flowchartjs.js"
                        ]
                    },
                    {
                        "name" : "wavedrom",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/wavedrom.js"
                        ]
                    },
                    {
                        "name" : "mathjax",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/mathjax.js"
                        ]
                    },
                    {
                        "name" : "plantuml",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/plantuml.js"
                        ]
                    },
                    {
                        "name" : "graphviz",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/graphviz.js"
                        ]
                    },
                    {
                        "name" : "turndown",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/turndown/turndown.js",
                            "web/js/turndown/turndown-plugin-gfm.js",
                            "web/js/turndown.js"
                        ]
                    },
                    {
                        "name" : "mark.js",
                        "enabled" : true,
                        "scripts" : [
                            "web/js/mark.js/mark.min.js",
                            "web/js/markjs.js"
                        ]
                    }
                ]
            },
            "export_resource" : {
                "template" : "web/markdown-export-template.html",
                "resources" : [
                    {
                        "name" : "global_styles",
                        "enabled" : true,
                        "styles" : [
                            "web/css/exportglobalstyles.css"
                        ]
                    },
                    {
                        "name" : "outline",
                        "enabled" : true,
                        "styles" : [
                            "web/css/outline.css"
                        ],
                        "scripts" : [
                            "web/js/outline.js"
                        ]
                    }
                ]
            },
            "//comment" : "Whether use javascript or external program to render PlantUML",
            "web_plantuml" : true,
            "//commnet" : "Local PlantUML JAR file to render PlantUML",
            "plantuml_jar" : "",
            "//commnet" : "Command to render PlantUML via stdin and stdout (overrides plantuml_jar)",
            "//commnet" : "- %1: the format to render in",
            "plantuml_command" : "",
            "//commnet" : "PlantUml Web service to use",
            "plantuml_web_service" : "",
            "//comment" : "Whether use javascript or external program to render Graphviz",
            "web_graphviz" : true,
            "//commnet" : "Local Graphviz executable file to render Graphviz",
            "graphviz_exe" : "",
            "//commnet" : "MathJax script to use",
            "mathjax_script" : "",
            "//comment" : "Whether prepend a dot at front in relative link like images",
            "prepend_dot_in_relative_link" : false,
            "//comment" : "Whether ask for user confirmation before clearing obsolete images",
            "confirm_before_clear_obsolete_images" : true,
            "//comment" : "Whether insert the file name as title on new file",
            "insert_file_name_as_title" : true,
            "//comment" : "none/read/edit",
            "section_number" : "none",
            "//comment" : "Base level to start section numbering",
            "section_number_base_level" : 2,
            "//comment" : "Style of the section number in edit mode",
            "//comment" : "digdotdigdot/digdotdig",
            "section_number_style" : "digdotdigdot",
            "//comment" : "Whether enable image width constraint",
            "constrain_image_width" : true,
            "image_align_center" : false,
            "//comment" : "Whether enable in-place preview width constraint",
            "constrain_inplace_preview_width" : false,
            "//comment" : "Zoom factor in read mode",
            "zoom_factor_in_read_mode" : 1,
            "//comment" : "Whether fetch images to local in Parse To Markdown And Paste",
            "fetch_images_in_parse_and_paste" : true,
            "//comment" : "Whether protect from Cross-Site Scripting attack",
            "protect_from_xss" : false,
            "//comment" : "Whether allow HTML tags in source",
            "html_tag" : true,
            "//comment" : "Whether auto break a line with '\\n'",
            "auto_break" : true,
            "//comment" : "Whether convert URL-like text to links",
            "linkify" : true,
            "//comment" : "Whether add indentation to the first line of paragraph",
            "indent_first_line" : false,
            "//comment" : "Whether add line number to fenced code block in read mode",
            "code_block_line_number" : true,
            "//comment" : "Whether enable smart table (formatting)",
            "smart_table" : true,
            "//comment" : "Time interval (milliseconds) to do smart table formatting",
            "smart_table_interval" : 1000,
            "spell_check" : false,
            "editor_overridden_font_family" : "",
            "//comment" : "Sources to enable inplace preview, separated by ;",
            "//comment" : "imagelink/codeblock/math",
            "inplace_preview_sources" : "imagelink;codeblock;math",
            "//comment" : "view mode of edit mode: editonly/editpreview",
            "edit_view_mode" : "editonly",
            "rich_paste_by_default" : true
        },
        "image_host" : {
            "hosts" : [
            ],
            "default_image_host" : "",
            "clear_obsolete_image" : false
        },
        "vi" : {
            "control_c_to_copy" : false
        }
    },
    "widget" : {
        "//comment" : "Level of the heading in outline that should expand to automatically (1-6)",
        "outline_auto_expanded_level" : 6,
        "//comment" : "Add section number in the outline viewer",
        "outline_section_number_enabled" : false,
        "//comment" : "Default find options in FindAndReplace",
        "find_and_replace_options" : 16,
        "//comment" : "View order of the node explorer (NotebookNodeExplorer::ViewOrder)",
        "node_explorer_view_order" : 0,
        "node_explorer_external_files_visible" : true,
        "node_explorer_auto_import_external_files_enabled" : true,
        "//comment" : "Whether close the file before opening it with external program",
        "node_explorer_close_before_open_with_enabled" : true,
        "//comment" : "0 - combined/1 - separate_single/2 - separate_double",
        "node_explorer_explore_mode" : 0,
        "search_panel_advanced_settings_visible" : true,
        "//comment" : "Docks to ignore when expanding content area of main window",
        "main_window_keep_docks_expanding_content_area": ["OutlineDock.vnotex", "WindowsDock.vnotex"],
        "snippet_panel_builtin_snippets_visible" : true,
        "tag_explorer_two_columns_enabled" : false,
        "new_note_default_file_type" : 0,
        "united_entry_expand_all" : false
    }
}
