Versión del artículo: GitHub.com
Asociar editores de texto con Git
Usar un editor de texto para abrir y editar tus archivos con Git.
En este artículo
- Usar Atom como editor
- Using Visual Studio Code as your editor
- Usar Sublime Text como tu editor
- Usar TextMate como editor
- Usar Atom como editor
- Using Visual Studio Code as your editor
- Usar Sublime Text como tu editor
- Usar Notepad++ como editor
- Usar Atom como editor
- Using Visual Studio Code as your editor
- Usar Sublime Text como tu editor
Usar Atom como editor
- Install Atom. For more information, see "Installing Atom" in the Atom documentation.
- Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "atom --wait"
Using Visual Studio Code as your editor
- Install Visual Studio Code (VS Code). For more information, see "Setting up Visual Studio Code" in the VS Code documentation.
- Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "code --wait"
Usar Sublime Text como tu editor
- Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation.
- Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "subl -n -w"
Usar TextMate como editor
- Install TextMate.
- Install TextMate's
mateshell utility. For more information, see "mate and rmate" in the TextMate documentation. - Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "mate -w"
Usar Atom como editor
- Install Atom. For more information, see "Installing Atom" in the Atom documentation.
- Escribe este comando:
$ git config --global core.editor "atom --wait"
Using Visual Studio Code as your editor
- Install Visual Studio Code (VS Code). For more information, see "Setting up Visual Studio Code" in the VS Code documentation.
- Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "code --wait"
Usar Sublime Text como tu editor
- Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation.
- Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "'C:/Program Files (x86)/sublime text 3/subl.exe' -w"
Usar Notepad++ como editor
- Install Notepad++ from https://notepad-plus-plus.org/. For more information, see "Getting started" in the Notepad++ documentation.
- Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
Usar Atom como editor
- Install Atom. For more information, see "Installing Atom" in the Atom documentation.
- Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "atom --wait"
Using Visual Studio Code as your editor
- Install Visual Studio Code (VS Code). For more information, see "Setting up Visual Studio Code" in the VS Code documentation.
- Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "code --wait"
Usar Sublime Text como tu editor
- Install Sublime Text. For more information, see "Installation" in the Sublime Text documentation.
- Open TerminalTerminalGit Bash.
- Escribe este comando:
$ git config --global core.editor "subl -n -w"