Skip to content
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

tweak setup: add config text editor #40

Merged
merged 2 commits into from Jun 5, 2017
Merged

tweak setup: add config text editor #40

merged 2 commits into from Jun 5, 2017

Conversation

evanwill
Copy link
Contributor

@evanwill evanwill commented Jun 5, 2017

A few tweaks to the setup page.

I removed git config --global color.ui "auto" because this is the default already and seems unnecessary.

I added setting a default text editor, because this can be a huge confusion later on went users merge something. The default default is Vi / Vim which few understand.

@weaverbel weaverbel merged commit 7bb489b into data-lessons:gh-pages Jun 5, 2017
evanwill
Copy link
Contributor

@evanwill evanwill commented on 31b9455 Jun 5, 2017 •

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @weaverbel I should have clarified it better, but your edit to the core.editor config doesn't quite work.

I added the most common and simple values you can add to the git config --global core.editor command, without knowing anything about how people have their machine setup. For example:

  • Windows: git config --global core.editor "notepad"
  • Mac: git config --global core.editor "edit -w"

However, you can't add "Notepad ++" to the command. To add Notepad++, you would need to know where it is installed, so it looks something like git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin" depending on where the exe is. Information for the non-simple options is available in the others link.

I will send another PR with a revision option.

@evanwill evanwill mentioned this pull request Jun 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants