Using Notepad++ as Git Editor without affecting settings

I use and love Notepad++ (http://notepad-plus-plus.org/) as my go to simple text editor. I have been using it as my default editor for git for a few weeks now and have noticed some funny behavior.

Normally I run Notepad++ with the Tab Bar enabled like so

However when I use Notepad++ as my git editor I would prefer it to open in the most basic mode possible (mainly no tabs, and in its own instance) I simply want a text editor to log my commit messages and such. The relevant section of my .gitconfig is setup as follows

[core]
autocrlf = true
editor = "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

Using this Notepad++ opens as desired when launched from git, however, the next time I launch Notepad++ normally, it loses my prior settings and does not display the tab bar anymore. It is real annoying to have to update this setting every time I want to use Notepad++ after it is launched from git. Any suggestions as to how I can have Notepad++ work in both situations without the settings affecting each other?

Answers


Get a portable version of Notepad++ (http://sourceforge.net/projects/notepadpluspe/) and set up git to use that. In the Notepad++PE.ini file add:

AdditionalParameters=-multiInst 

Then use your normal Notepad++ installation with all your settings for normal work.


Need Your Help

Creating custom tabhost like in chrome browser for Android

android android-tabhost android-tabs android-browser

I want to create custom tabhost for browser like tabs. I am confused about how to apply it for a layout like in chrome browser tab as in the image.

User login and sign up php page not working together but work seperatly.

php html forms login

I have just started to code php. I want to make a user login and a signup form on the same page. Both of these codes work individually but I am having issues when putting them together. Can someone

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.