-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds configuration for commonly used text editors #56
Conversation
| nano | `$ git config --global core.editor "nano"` | | ||
| Sublime Text (Mac) | `$ git config --global core.editor "subl -n -w"` | | ||
| Text Wrangler | `$ git config --global core.editor "edit -w"` | | ||
| Sublime Text (Win) | `$ git config --global core.editor "'c:/program files/sublime text 2/sublime_text.exe' -w"` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not put the two Sublime Text lines together?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that maybe some people will enter the wrong line for the OS or even both, but probably is OK to put them together.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Sun, Feb 22, 2015 at 07:26:29AM -0800, Greg Wilson wrote:
+| nano |
$ git config --global core.editor "nano"
|
nano -w
is probably a better idea, especially when we're likely to
be handling a whitespace-sensitive languages like Python.
A couple of minor suggestions, but this is a great addition. |
I'll merge as soon as someone with Windows confirms the line for Notepad++ is correct. |
On Sun, Feb 22, 2015 at 08:08:07AM -0800, Ivan Gonzalez wrote:
I don't have access to a Windows box either, but in general "program |
Thanks, @wking. It seems that Sublime has both 64- and 32-bit [1], although in our current setup instructions we offer Sublime as an option only for Mac. (Maybe we should add the Windows version?) Regarding notepad++, I have no idea: it's not clear to me from their website [2]. [1] http://www.sublimetext.com/2 |
| Text Wrangler | `$ git config --global core.editor "edit -w"` | | ||
| Sublime Text (Mac) | `$ git config --global core.editor "subl -n -w"` | | ||
| Sublime Text (Win) | `$ git config --global core.editor "'c:/program files/sublime text 2/sublime_text.exe' -w"` | | ||
| Notepad++ | `$ git config --global core.editor "'c:/program files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"`| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to add "(Win)".
I've added again the OS for |
| Sublime Text (Win) | `$ git config --global core.editor "'c:/program files/sublime text 2/sublime_text.exe' -w"` | | ||
| Notepad++ (Win) | `$ git config --global core.editor "'c:/program files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"`| | ||
| Kate (Linux) | `$ git config --global core.editor "kate"` | | ||
| Gedit | `$ git config --global core.editor "gedit -s"` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add "(Linux)"?
Thanks.
In this case I prefer make it very clear to avoid problems. |
Adds configuration for commonly used text editors.
Adds configuration for commonly used text editors.
Adds a table in
01-backup.md
with propergit config
for the following editors: nano, Sublime Text 2 (Win & Mac), Kate, Text Wrangler, and Notepad++. Not the prettiest thing, but I don't find any other way to have them all. Fixes issue #39.(I found the list in some notes I snatched long ago from one @karthik 's repos :-) )
I don't have access to a Windows machine: can someone else check the two Windows beauties? Do they need to modify the Windows path to get it working?