Skip to content

Instantly share code, notes, and snippets.

@255kb
Last active May 18, 2018 11:54
Show Gist options
  • Save 255kb/7588b1b7a305222014e35a42a72e44f3 to your computer and use it in GitHub Desktop.
Save 255kb/7588b1b7a305222014e35a42a72e44f3 to your computer and use it in GitHub Desktop.
To Launch Cmder from VSCode or Hyper, put vscode.bat in c:/tools/cmder, and add following config to VSCode
@echo off
SET CurrentWorkingDirectory=%CD%
SET CMDER_ROOT=C:\tools\cmder
CALL "%CMDER_ROOT%\vendor\init.bat"
CD /D %CurrentWorkingDirectory%
// Place your settings in this file to overwrite the default settings
{
"terminal.integrated.shell.windows": "C:\\Windows\\Sysnative\\cmd.exe",
"terminal.integrated.env.windows": {
"CMDER_ROOT": "c:\\tools\\cmder"
},
"terminal.integrated.shellArgs.windows": [
"/k",
"C:\\tools\\cmder\\vendor\\vscode.bat"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment