NppFileSettings is a plug-in for Notepad++ that tries to recognize VIM modelines and adjust settings for that file accordingly. It can be very useful for people who work on cross platform projects.
To download version 2.0.0 (2022-10-21), go to download page on GitHub.
The easiest way to install is to download it through the Plugins Admin
in Notepad++.
To install manually, copy NppFileSettings.dll
to the plugins/NppFileSettings
directory and (re)start Notepad++.
Support for VIM modelines to override default settings
tabstop
, ts
: set the tab widthexpandtab
, et
: tab key produces spacesnoexpandtab
, noet
: tab key produces tabsfiletype
, ft
, syntax
, syn
: specify the syntax highlighting used for the file.editorconfig
file exists and sets tabs and a VIM modeline with tab settings is opened, it depends on the order the are found in the Plugins menu of Notepad++ which plug-in does its thing first. To fix this these two plugins need to become aware of each other most likely with the message NPPM_MSGTOPLUGIN
.This plugin is released under the GPL2-license. The source code can be found at GitHub.
Version 2.0.0 (2022-10-21)
filetype
and syntax
Version 1.0.0 (2015-09-23)