This repository has been archived by the owner. It is now read-only.
LOOKING FOR DEVELOPERS - Notepad2-mod, a Notepad2 fork, a fast and light-weight Notepad-like text editor with syntax highlighting
Clone or download


A modified version (fork) of Notepad2 based on Kai Liu's and other people's patches.

Build status Coverity Scan Build Status

Changes compared to the official Notepad2:

  • Code folding
  • Support for bookmarks
  • Option to mark all occurrences of a word
  • Word auto-completion
  • Syntax highlighting support for AutoHotkey, AutoIt3, AviSynth, Bash, CMake, CoffeeScript, Inno Setup, LaTeX, Lua, Markdown, NSIS, Ruby, Tcl, YAML and VHDL scripts
  • Improved support for NFO ANSI art
  • Support for replacing Windows Notepad using a clean, unintrusive registry-based method
  • Other various minor changes and tweaks

Supported Operating Systems:

  • XP (SP3, SP2 might or might not work), Vista, 7, 8, 8.1 and 10 both 32-bit and 64-bit



  • If you find any bugs or have any suggestions for the implemented lexers (and not only) feel free to provide patches/pull requests. Without patches or pull requests chances are that nothing will be fixed/implemented.
  • I'm not interested in any localization of Notepad2.


More information:

Changed keyboard shortcuts compared to Notepad2:

  • Ctrl+Alt+F2 Expand selection to next match.
  • Ctrl+Alt+Shift+F2 Expand selection to previous match.
  • Ctrl+Shift+Enter New line with toggled auto indent option.

You can use MSVC 2017 to build Notepad2-mod.