mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 06:19:52 +08:00

1. External editor format: name=program %0,<shortcut> 2. Add "OpenViaDefaultProgram" shortcut to call system's default program to open current note. "F12" by default.
907 B
907 B
External Programs
VNote supports opening notes with external programs. VNote stores external programs' configuration information in the [external_editors]
section of user configuration file vnote.ini
.
A sample configuration may look like this:
[external_editors]
; Define external editors which could be called to edit notes
; One program per line with the format name="program \"%0\" arg1 arg2",<shortcut>
; in which %0 will be replaced with the note file path (so it is better to enclose it
; with double quotes)
; Shortcut could be empty
; Need to escape \ and ", use double quotes to quote paths/arguments with spaces
; SHOULD defined in user config file, not here
GVim=C:\\\"Program Files (x86)\"\\Vim\\vim80\\gvim.exe \"%0\", F4
Notepad=notepad \"%0\"
Notepad%2B%2B=C:\\\"Program Files (x86)\"\\notepad++\\notepad++.exe \"%0\"
A restart is needed to detect new external programs.