Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git config --global core.editor ""c:Program FilesNotepad++notepad++.exe""
- or
- git config --global core.editor ""c:Program FilesNotepad++notepad++.exe" %*"
- C:proggit>git config --global --edit
- "c:Program FilesNotepad++notepad++.exe" %*: c:Program FilesNotepad++notepad++.exe: command not found
- error: There was a problem with the editor '"c:Program FilesNotepad++notepad++.exe" %*'.
- "c:Program FilesNotepad++notepad++.exe" %*
- C:proggit>git config --global core.editor C:proggitnpp.bat
- git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
- C:proggit>git config --global core.editor C:/prog/git/npp.bat
- #!/bin/sh
- "c:/Program Files/Notepad++/notepad++.exe" -multiInst "$*"
- #!/bin/sh
- "c:/Program Files/Notepad++/notepad++.exe" -multiInst -notabbar -nosession -noPlugin "$*"
- git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
- git config --global core.editor "'C:/Program Files/TextPad 5/TextPad.exe' -m"
- start /WAIT "E:PortableAppsNotepad++PortableNotepad++Portable.exe" %*
- c:src>echo %EDITOR%
- c:toolsruneditor.bat
- git config --global core.editor "'C:/Program Files/Vim/vim72/gvim.exe' --nofork '%*'"
- >echo %EDITOR%
- c:VimVim71vim.exe
- #!/bin/sh
- #open a new instance
- function doUnix() {
- "c:program filesnotepad++notepad++.exe" -multiInst -nosession -notabbar $*
- exit
- }
- doUnix $*
- :WINCALL
- "c:program filesnotepad++notepad++.exe" -multiInst -nosession -notabbar %*
- git config --global core.editor "git-editor.bat"
- error: There was a problem with the editor 'ec'
- c:emacsemacs-23.1binemacsclient.exe %*
- git config --global core.editor C:/path/to/geany.bat
- #!/bin/sh
- "C:Program FilesGeanybinGeany.exe" --new-instance "$*"
- export TERM=msys
- echo "export TERM=msys" >> ~/.bashrc
- git config --global core.editor c:/msysgit/cmd/epp.sh
- #!/bin/sh
- "C:/Program Files/JGsoft/EditPadPro6/EditPadPro.exe" //newinstance "$*"
- git config core.editor '"C:Program FilesWindows NTAccessorieswordpad.exe"'
- #!/usr/bin/perl
- # Detect which system I'm on and choose the right editor
- $unamea = `uname -a`;
- if($unamea =~ /mingw/i){
- if($unamea =~ /devsystem/i){#Check hostname
- exec('C:Program Files (x86)Notepad++notepad++.exe', '-multiInst', '-nosession', @ARGV);
- }
- if($unamea =~ /testsystem/i){
- exec('C:Program FilesNotepad++notepad++.exe', '-multiInst', '-nosession', @ARGV);
- }
- }
- $MCEDIT=`which mcedit`;
- if($MCEDIT =~ /mcedit/){
- exec($MCEDIT, @ARGV);
- }
- $NANO=`which nano`;
- if($NANO =~ /nano/){
- exec($NANO, @ARGV);
- }
- die "You don't have a suitable editor!n";
Add Comment
Please, Sign In to add comment