Skip to content

Instantly share code, notes, and snippets.

@xgqfrms-GitHub
Last active December 3, 2016 13:37
Show Gist options
  • Save xgqfrms-GitHub/f9273addd6c9f9d4a9556be6a4886161 to your computer and use it in GitHub Desktop.
Save xgqfrms-GitHub/f9273addd6c9f9d4a9556be6a4886161 to your computer and use it in GitHub Desktop.

windows CMD terminal setting for sublime text 3!

{
    "terminal": "C:\\Windows\\System32\\cmd.exe",
    "start": ["/START", "%CWD%"],
    "title": ["/TITLE", "Hacker's Bash"],
    "keys": ["ctrl+shift+t"],
    "command": "open_terminal"
}


terminal for sublime text 3

https://packagecontrol.io/packages/Terminal

https://gist.github.com/xgqfrms-GitHub/f9273addd6c9f9d4a9556be6a4886161

CMD on Windows

{
    "terminal": "C:\\Windows\\System32\\cmd.exe",
    "parameters": ["/START", "%CWD%"]
}

Custom Parameters

Preferences > Package Settings > Terminal > Settings – Default

[
    { "keys": ["ctrl+shift+t"], "command": "open_terminal" },
    { "keys": ["ctrl+shift+alt+t"], "command": "open_terminal_project_folder" }
]

Preferences > Package Settings > Terminal > Settings – User

terminal.sublime-settings

{
    "terminal": "C:\\Windows\\System32\\cmd.exe",
    "parameters": ["/START", "%CWD%"],
    "keys": ["ctrl+shift+t"],
    "command": "open_terminal",
    "args": {
        "parameters": ["-T", "Working in directory %CWD%"]
    }
}

## or

{
    "terminal": "C:\\Windows\\System32\\cmd.exe",
    "parameters": ["/START", "%CWD%"],
    "keys": ["ctrl+shift+t"],
    "command": "open_terminal_project_folder",
    "args": {
        "parameters": ["-T", "Working in directory %CWD%"]
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment