doc/Configuration.md
Notepad3 stores its settings in a portable INI file (Notepad3.ini). Press Ctrl+F7 to open it directly in the editor. Most [Settings2] changes require restarting Notepad3.
[Notepad3]This section can redirect to a different settings file. Useful when a non-elevated user cannot write to the Notepad3 program directory:
Notepad3.ini=%APPDATA%\Rizonesoft\Notepad3\Notepad3.ini
Or for per-user settings:
Notepad3.ini=%WINDIR%\Notepad3-%USERNAME%.ini
[Settings]These settings are managed through Notepad3's user interface (Menu → Settings). For example:
SettingsVersion=5Favorites=%APPDATA%\Rizonesoft\Notepad3\Favorites\[Settings2]Advanced settings that can only be edited manually. Press Ctrl+F7 to open the INI file.
PreferredLanguageLocaleName=en-USThe default value is determined by the OS language setting. Fallback: en-US.
Available languages:
| Language | Locale Code |
|---|---|
| English/United States | en-US (internal default) |
| Afrikaans/South Africa | af-ZA |
| Belarusian/Belarus | be-BY |
| German/Germany | de-DE |
| Greek/Greece | el-GR |
| English/United Kingdom | en-GB |
| Spanish/Spain | es-ES |
| French/France | fr-FR |
| Hindi/India | hi-IN |
| Hungarian/Hungary | hu-HU |
| Indonesian/Indonesia | id-ID |
| Italian/Italy | it-IT |
| Japanese/Japan | ja-JP |
| Korean/Korea | ko-KR |
| Dutch/Netherlands | nl-NL |
| Polish/Poland | pl-PL |
| Portuguese/Brazil | pt-BR |
| Portuguese/Portugal | pt-PT |
| Russian/Russia | ru-RU |
| Slovak/Slovakia | sk-SK |
| Swedish/Sweden | sv-SE |
| Turkish/Turkey | tr-TR |
| Vietnamese/Vietnam | vi-VN |
| Chinese Simplified/China | zh-CN |
| Chinese Traditional/Taiwan | zh-TW |
IMEInteraction=0DateTimeFormat=Locale-dependent short format. Specify the short date/time format using strftime() syntax.
DateTimeLongFormat=Locale-dependent long format.
TimeStampRegEx=Default: \$Date:[^\$]+\$ — Find pattern to match timestamps for update.
TimeStampFormat=Default: $Date: %Y/%m/%d %H:%M:%S $
This pattern is used by Shift+F5 to update timestamps, e.g., $Date: 2018/04/26 00:52:39 $.
Notes:
DateTime formats accept strftime() format strings.TimeStampFormat also accepts %s as a placeholder for a DateTimeFormat-formatted current date/time string (mixing strftime() codes with %s is not allowed).TimeStampFormat, define a matching TimeStampRegEx so that "Update Timestamps" can find and replace them correctly.DefaultDirectory=Default directory for open/save dialogs when no file is open. Paths can be relative to the Notepad3 program directory.
DefaultExtension=txtDefault extension for saved files (omit the leading dot).
DenyVirtualSpaceAccess=0filebrowser.exe=minipath.exeExternal program launched by the Browse toolbar button. Defaults to MiniPath.
Additional command line switches can be appended. The currently opened file is passed as the last argument.
Note: Pathnames with spaces need quadruple quoting (
""path to/file.exe"") when no arguments follow, or double quoting ("path to/file.exe" /arg) with arguments.
Alternative file browsers:
filebrowser.exe=explorer.exe — Windows Explorerfilebrowser.exe=Explorer++.exe — Explorer++filebrowser.exe=Q-Dir_x64+.exe — Q-DirgrepWin.exe=grepWinNP3.exeIntegrated search-and-replace tool with regex support. Launch via:
FileCheckInterval=2000Interval in milliseconds to check for external file modification. Min: 200 ms (notify immediately if ≤ 200).
FileWatchingMethod=0 ;(0=both[default], 1=poll-only, 2=push-only)FileChangedIndicator=[@]FileDeletedIndicator=[X]FileDlgFilters=Custom filters for open/save dialogs. Example:
Text Files|*.txt;*.wtx;*.log;*.asc;*.doc;*.diz;*.nfo|All Files|*.*
FileLoadWarningMB=4Size limit (MB) for large-file warning. Set to 0 to disable.
MultiFileArg=0Set to 1 to allow multiple files on the command line. Default (0) accepts a single file like Windows Notepad. Use + and - command-line switches to override; /z behaves like -.
NoCGIGuess=0Set to 1 to disable language detection for .cgi and .fcgi files.
NoHTMLGuess=0Set to 1 to disable HTML/XML detection for files without extensions.
NoCopyLineOnEmptySelection=0Set to 1 to prevent Ctrl+C from copying the current line when nothing is selected.
NoCutLineOnEmptySelection=0Set to 1 to prevent Ctrl+X from cutting the current line when nothing is selected.
NoFadeHidden=0Set to 1 to disable fading of hidden objects in file lists (Favorites, etc.).
NoFileVariables=0Set to 1 to disable file variable parsing. Encoding tag parsing can be disabled separately in Menu → File → Encoding → Default.
Notepad3 parses Emacs-style variables in the first and last 512 bytes of a file:
| Variable | Effect |
|---|---|
coding: utf-8; | File encoding tag |
mode: python; | Syntax scheme (name or extension) |
tab-width: 8; | Tab width |
c-basic-indent: 2; | Indentation size |
indent-tabs-mode: nil; | Insert tabs as spaces (nil/false/0) or not (true/1) |
c-tab-always-indent: true; | Tab key reformats whitespace (true/1) or not |
fill-column: 64; | Long-line limit (does not auto-show the visual marker) |
truncate-lines: false; | Word wrap: enable (nil/false/0), disable (true/1) |
enable-local-variables: false; | Disable variable parsing but keep encoding tags |
To bypass both file variable and encoding tag parsing, reload the file with Alt+F8.
PortableMyDocs=1Store recent file paths relative to My Documents for USB portability across Windows versions. Enabled by default when RelativeFileMRU=1.
OpacityLevel=75Window opacity (%) in transparent mode.
FindReplaceOpacityLevel=50Find/Replace dialog opacity (%) in transparent mode.
RelativeFileMRU=1Store recent file paths as relative when on the same drive/share as Notepad3.exe.
ReuseWindow=0Managed by Notepad3 (Menu → Settings → Window → Reuse Window, Ctrl+Shift+L). When enabled, new instances hand off to the existing window.
SaveBlankNewFile=trueWhether to prompt for save when closing an untitled document that contains only whitespace.
SciFontQuality=3SimpleIndentGuides=0Set to 1 to prevent indentation guides from jumping across empty lines.
SingleFileInstance=1Managed by Notepad3.
ShellAppUserModelID=Rizonesoft.Notepad3ShellUseSystemMRU=1Controls taskbar grouping, Jump List, and system MRU behavior. See Replacing Windows Notepad for details.
StickyWindowPosition=0Managed by Notepad3 (Menu → View → Position → Sticky Window Position). Remembers current position on restart instead of last-closed position.
SubWrappedLineSelectOnMarginClick=falseSet to true for old selection behavior: single click selects the visible sub-line, double click selects the entire wrapped line.
LaunchInstanceWndPosOffset=28LaunchInstanceFullVisible=trueUseOldStyleBraceMatching=0Set to 1 for legacy brace-matching style.
LargeIconScalePrecent=150Display scale percent threshold to switch to larger file-type icons.
DarkModeBkgColor=0x1F1F1FDarkModeBtnFaceColor=0x333333DarkModeTxtColor=0xEFEFEFWebTemplate1=https://google.com/search?q=%sWebTmpl1MenuName=Open Web Action 1WebTemplate2=https://en.wikipedia.org/w/index.php?search=%sWebTmpl2MenuName=Open Web Action 2ExtendedWhiteSpaceChars=:Additional ASCII characters treated as word delimiters for Accelerated Word Navigation.
AutoCompleteWordCharSet=Set automatically for CJK input languages. Custom character sets limit the auto-completion word list to words composed of these characters only (case-insensitive).
AutoCompleteFillUpChars=Characters that accept an auto-completion item. For Enter-to-complete behavior:
AutoCompleteFillUpChars=\r\n
To also accept on ( or .:
AutoCompleteFillUpChars=\r\n(.
LineCommentPostfixStrg=String appended/removed after comment tags on line-comment toggle. Double-quote if it contains spaces:
LineCommentPostfixStrg=" "
HyperlinkShellExURLWithApp=""External application for Ctrl+Click on URLs. If empty, the OS default handler is used.
HyperlinkShellExURLCmdLnArgs="${URL}"Command-line arguments for the URL application. Use ${URL} as placeholder:
HyperlinkShellExURLCmdLnArgs="--incognito "${URL}""
HyperlinkFileProtocolVerb=""ShellExecuteEx verb: "" (default), "edit", "explore", "find", "open", "print", "properties", "runas".
CodeFontPrefPrioList="Cascadia Code,Cascadia Mono,Cousine,Fira Code,Source Code Pro,Roboto Mono,DejaVu Sans Mono,Inconsolata,Consolas,Lucida Console"Font priority list for the "Common Base" scheme.
TextFontPrefPrioList="Cascadia Mono,Cousine,Roboto Mono,DejaVu Sans Mono,Inconsolata,Consolas,Lucida Console"Font priority list for the "Text Files" scheme.
UpdateDelayMarkAllOccurrences=50CurrentLineHorizontalSlop=40CurrentLineVerticalSlop=5UndoTransactionTimeout=0Timeout in milliseconds. Set to 1 (clamped to 10 ms minimum) to make nearly every keystroke a separate undo action. 0 disables the timer.
AdministrationTool.exe=Reserved for future use.
DevDebugMode=0Show encoding detector (UCHARDET) info in the title bar for debugging.
AnalyzeReliableConfidenceLevel=66Confidence threshold for the encoding reliability indicator.
LocaleAnsiCodePageAnalysisBonus=33Bias added to confidence when the system's ANSI code page matches the detected encoding.
; Bitmask controlling which CJK charset probers are active in uchardet:
; Bit 0 (0x01/1) = Chinese Simplified (GB18030)
; Bit 1 (0x02/2) = Chinese Traditional (Big5, EUC-TW)
; Bit 2 (0x04/4) = Japanese (Shift_JIS, EUC-JP)
; Bit 3 (0x08/8) = Korean (EUC-KR)
; Bit 4 (0x10/16) = Non-CJK (single-byte encodings)
; Common values:
; 31 = All probers (default)
; 27 = Exclude Japanese (fix GB18030 misdetected as EUC-JP)
; 17 = Chinese Simplified + Non-CJK only
; 3 = Chinese only (simplified + traditional)
LexerSQLNumberSignAsComment=1Enable # as a line-comment character in MySQL-dialect SQL. Set to 0 to disable.
AtomicFileSave=true;ExitOnESCSkipLevel=2Controls ESC key behavior:
ZoomTooltipTimeout=3200Zoom tooltip display duration in milliseconds. Set to 0 to disable.
WrapAroundTooltipTimeout=2000Search wrap-around tooltip duration in milliseconds. Set to 0 to disable.
[Statusbar Settings]Customize the status bar layout: number, order, width, and prefix/postfix text of fields.
VisibleSections=0 1 15 14 2 4 5 6 7 8 9 10 11Defines visible fields and their order:
| Section | Content |
|---|---|
| 0 | Ln — Line number / Total lines |
| 1 | Col — Column number / Long-line limit |
| 2 | Sel — Selected characters |
| 3 | Sb — Selected bytes (UTF-8) |
| 4 | SLn — Selected lines |
| 5 | Occ — Marked occurrences |
| 6 | File size (UTF-8 mode) |
| 7 | Encoding (double-click to open Encoding dialog) |
| 8 | EOL mode (toggle CR+LF / LF / CR) |
| 9 | INS/OVR mode toggle |
| 10 | STD/2ND text mode toggle |
| 11 | Current scheme (double-click to open scheme selector) |
| 12 | Ch — Character count from line start |
| 13 | Repl — Replaced occurrences |
| 14 | Eval — TinyExpr evaluation |
| 15 | U+ — Unicode code point (UTF-16) at caret |
SectionPrefixes=Ln ,Col ,Sel ,Sb ,SLn ,Occ ,,,,,,,Ch ,Repl ,Eval ,U+,Redefine display prefixes. Comma-separated; spaces are significant.
SectionPostfixes=,,,,,,,,,,,,,,,,Redefine display postfixes. Comma-separated; spaces are significant.
SectionWidthSpecs=30 20 20 20 20 20 20 0 0 0 0 0 0 0 20 24Relative field widths. 0 = auto-fit, negative = fixed pixel width (text truncated).
ZeroBasedColumnIndex=0Start column counting at 0 or 1.
ZeroBasedCharacterCount=0Start character counting at 0 or 1.
[Toolbar Labels]Display function names next to toolbar icons:
01=New
02=Open
03=Browse
04=Save
05=Undo
06=Redo
07=Cut
08=Copy
09=Paste
10=Find
11=Replace
12=Word Wrap
13=Zoom In
14=Zoom Out
15=Scheme
16=Customize Schemes
17=Exit
18=Save As
19=Save Copy
20=Delete
21=Print
22=Favorites
23=Add to Favorites
24=Toggle Folds
25=Execute Document
26=Focused View
27=Monitoring Log
28=History
29=Always On Top
30=Search in Files
31=Reset Zoom
32=New Empty Window
[Window]<ResX>x<ResY> DefaultWindowPosition=Managed by Notepad3 (Menu → View → Position → Save as Default Position). Recall with Ctrl+Shift+P.