How do I stop Notepad++ from loading all files from the past session?
Every time I open a file I have 10 other open tabs with all my past files. I don't want that. When I hit the close button I expect the program to do what I want and close it. If I wanted to save a session I would use the built in session save feature. I don't want to hit the gray x 20 times when I am done so next time I don't have a bunch of files opening and taking up memory.
I tried the -nosession parameter and that works. But it only works if I use the shortcut. It won't work if I use the right-click edit method. How do I set Notepad++ to do this?
For versions 6.6+ you need to uncheck "Remember the current session for next launch" on Settings -> Preferences -> Backup
.
For older versions you need to uncheck "Remember the current session for next launch"
on Settings -> Preferences
.