[global]
; Theme name
theme=v_pure

welcome_page_path=:/resources/welcome.html

; CSS style name for Markdown template
; Empty to use theme's css style
css_style=

; Code block CSS style for Markdown template
; Empty to use theme's css style
code_block_css_style=

; Editor style name
; Empty to use theme's editor style
editor_style=

current_notebook=0
tab_stop_width=4
is_expand_tab=true
highlight_cursor_line=true
highlight_selected_word=true
highlight_searched_word=true
auto_indent=true
auto_list=true
current_background_color=System
current_render_background_color=System
language=System

; 0 - Hoedown, 1 - Marked, 2 - Markdown-it, 3 - Showdown
markdown_converter=2

enable_mermaid=false
enable_mathjax=false

; Enable flowchart.js
enable_flowchart=false

; -1 - calculate the factor
web_zoom_factor=-1

; Syntax highlight within code blocks in edit mode
enable_code_block_highlight=true

; Enable image preview in edit mode
enable_preview_images=true

; Enable image preview constraint in edit mode to constrain the widht of the preview
enable_preview_image_constraint=true

; Enable image constraint in read mode to constrain the width of the image
enable_image_constraint=true

; Center image and add the alt text as caption
enable_image_caption=false

; Image folder name for the notes
image_folder=_v_images

; Image folder name for the external files
external_image_folder=_v_images

; Attachment folder name for the notes
attachment_folder=_v_attachments

; Enable trailing space highlight
enable_trailing_space_highlight=true

; Enable Vim mode in edit mode
enable_vim_mode=false

; Enable smart input method in Vim mode (disable IM in non-Insert modes)
enable_smart_im_in_vim_mode=true

; Display an area besides the editor area to show line number
; 0 - None, 1 - Absolute, 2 - Relative, 3 - CodeBlock
editor_line_number=0

; Whether minimize to system tray when closing the app
; -1: uninitialized, prompt user for the behavior
; 0: do not minimize to system tray
; 1: minimize to system tray
minimize_to_system_tray=-1

; Suffixes list of Markdown files separated by :
; Case-insensitive
markdown_suffix=md:markdown:mkd

; Markdown highlight timer interval (milliseconds)
markdown_highlight_interval=400

; Adds specified height between lines (in pixels)
line_distance_height=3

; Whether insert the note name as a title when creating a new note
insert_title_from_note_name=true

; Default open mode when opening a note
; 0 - Read, 1 - Edit
note_open_mode=0

; Whether auto generate heading sequence
; 0 - Disabled, 1 - Enabled, 2 - Enabled only for notes
heading_sequence_type=0

; Heading sequence base level
heading_sequence_base_level=1

; Style the xth column in fenced code block
; 0 - no color column
color_column=0

; Whether display line number of code block in read mode
enable_code_block_line_number=false

; The icon size of tool bar (in pixels)
tool_bar_icon_size=18

; Markdown-it options
; Enable HTML tags in source
markdownit_opt_html=true
; Convert '\n' in paragraphs into <br/>
markdownit_opt_breaks=false
; Auto-convert URL-like text to links
markdownit_opt_linkify=true

; Default name of the recycle bin of notebook
recycle_bin_folder=_v_recycle_bin

; Default name of the recycle bin of external files
external_recycle_bin_folder=_v_recycle_bin

; Confirm before deleting unused images
confirm_images_clean_up=true

; Confirm before reloading folder from disk
confirm_reload_folder=true

; Whether double click on a tab to close it
double_click_close_tab=true

; Whether put folder and note panel in one vertical column
enable_compact_mode=true

; Whether enable tools dock widget
tools_dock_checked=true

; Pages to open on startup
; 0 - none; 1 - Continue where you left off; 2 - specific pages
startup_page_type=0

; Specific pages to open on startup when startup_page_type is 2
; A list of file path separated by ,
; Notice: should escape \ by \\
; C:\users\vnote\vnote.md -> C:\\users\\vnote\\vnote.md
startup_pages=

; Timer interval to check file modification or save file to tmp file in milliseconds
file_timer_interval=2000

; Directory for the backup file
; A directory "." means to put the backup file in the same directory as the edited file
backup_directory=.

; String which is appended to a file name to make the name of the backup file
backup_extension=.vswp

; Enable backup file
enable_backup_file=true

; Skipped keys in Vim mode
; c: Ctrl+C
; v: Ctrl+V
vim_exemption_keys=cv

; Path of the flash page, related to the configuration folder
; Could be absolute path
flash_page=flash_page.md

[web]
; Location and configuration for Mathjax
mathjax_javascript=https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML

[predefined_colors]
1\name=White
1\rgb=EEEEEE
2\name=Green
2\rgb=CCE8CF
3\name=Wheat2
3\rgb=DFC7B2
4\name=LightGrey
4\rgb=D3D3D3
size=4

[shortcuts]
; Define shortcuts here, with each item in the form "operation=keysequence".
; Leave keysequence empty to disable the shortcut of an operation.
; Custom shortcuts may conflict with some key bindings in edit mode or Vim mode.
; Ctrl+Q is reserved for quitting VNote.

; Leader key of Captain mode
CaptainMode=Ctrl+E
; Create a note in current folder
NewNote=Ctrl+Alt+N
; Save current note
SaveNote=Ctrl+S
; Save changes and enter read mode
SaveAndRead=Ctrl+T
; Edit current note
EditNote=Ctrl+W
; Close current note
CloseNote=
; Open file/replace dialog
Find=Ctrl+F
; Find next occurence
FindNext=F3
; Find previous occurence
FindPrevious=Shift+F3
; Recover last closed file
LastClosedFile=Ctrl+Shift+T
; Activate next tab
ActivateNextTab=Ctrl+Tab
; Activate previous tab
ActivatePreviousTab=Ctrl+Shift+Tab
; Activate flash page
FlashPage=Ctrl+Alt+L

[captain_mode_shortcuts]
; Define shortcuts in Captain mode here.
; There shortcuts are the sub-sequence after the CaptainMode key sequence
; in [shortcuts].

; Enter Navigation mode
NavigationMode=W
; Show attachment list of current note
AttachmentList=A
; Locate to the folder of current note
LocateCurrentFile=D
; Toggle Expand mode
ExpandMode=E
; Alternate one/two panels view
OnePanelView=P
; Discard changes and enter read mode
DiscardAndRead=Q
; Toggle Tools dock widget
ToolsDock=T
; Close current note
CloseNote=X
; Show shortcuts help document
ShortcutsHelp=?
; Flush the log file
FlushLogFile=";"
; Show opened files list
OpenedFileList=F
; Activate the ith tab
ActivateTab1=1
ActivateTab2=2
ActivateTab3=3
ActivateTab4=4
ActivateTab5=5
ActivateTab6=6
ActivateTab7=7
ActivateTab8=8
ActivateTab9=9
; Alternate between current and last tab
AlternateTab=0
; Activate next tab
ActivateNextTab=J
; Activate previous tab
ActivatePreviousTab=K
; Activate the window split on the left
ActivateSplitLeft=H
; Activate the window split on the right
ActivateSplitRight=L
; Move current tab one split left
MoveTabSplitLeft=Shift+H
; Move current tab one split right
MoveTabSplitRight=Shift+L
; Create a vertical split
VerticalSplit=V
; Remove current split
RemoveSplit=R
; Evaluate selected text or cursor word as magic words
MagicWord=M
; Prompt for user to apply a snippet
ApplySnippet=S

[external_editors]
; Define external editors which could be called to edit notes
; One program per line with the format name="program %0 arg1 arg2"
; in which %0 will be replaced with the note file path
; Need to escape \ and ", use double quotes to quote paths/arguments with spaces
; SHOULD defined in user config file, not here
