I like the vim Dark Blue style in Notepad++, but I want to use it with Lucida instead of Consolas. When I change the font to Lucida, it is never saved. Is there a way to save a custom style that combines a new font with a built-in style?
As @mikez302 said in a comment above, run as administrator. Then make your style changes via Settings/Style Configurator. There is no need to edit these files manually.
As of v5.8.6, theme files are stored under
%PROGRAMFILES(x86)%. Vista/Win7 will refuse to write to this directory when the application is not run as Administrator. Furthermore, it appears that "Global Override" settings get saved into the active theme file. Hopefully future versions of Notepad++ will store these user-specific theme settings under
%APPDATA% as the Windows paradigm intends.
Head over to Settings / Style Configurator. Select the font name and enable checkbox against
Enable global font. Click on Save & Close.
Also: Have a look at @zourtney's answer. You should run Notepad++ as Administrator to keep your changes
I'm having the same issue using the latest version (5.8.5).
I believe a bug report is in order. Here is a bug that seems to (at the very least) be related: http://sourceforge.net/tracker/index.php?func=detail&aid=2893679&group_id=95717&atid=612382
Another option (until the issue gets resolved) may be to manually add a theme to
(Note that you have to run your editor as Administrator to be able to save this file.)
Simply copy the theme you like, and edit the copy to your liking.
In your case, editing the
<GlobalStyles> should do the trick.
Additionally you may want to edit
name="stylerTheme" path="" in your
Instead of running Notepad++ as administrator as in some of the other answers, you can add write/modify permissions to the themes directory in program files so you don't need to run as admin each time.
For windows 7:
- In Windows Explorer, go to %PROGRAMFILES%\Notepad++
- Right-click the 'themes' folder and click 'properties'
- Click the Security tab
- CLick the Edit button
- Select the 'Users' item in the upper list
- In the permissions list, add a checkmark to 'Modify' (which automatically adds it to 'write' as well)
- OK, OK
It should now save your changes without needing to run Notepad++ as admin.
If you do not have administrator rights, changing the entire theme to another theme (e.g. the Twilight theme) is saved permanently even without administrator rights.