Skip to content

Instantly share code, notes, and snippets.

@dillonhafer
Created December 29, 2022 16:09
Show Gist options
  • Save dillonhafer/5a81d094c972a05b254c3e375d4284a6 to your computer and use it in GitHub Desktop.
Save dillonhafer/5a81d094c972a05b254c3e375d4284a6 to your computer and use it in GitHub Desktop.
terminal command keys
{
"key": "\\ t",
"command": "terminalCommandKeys.run",
"when": "editorTextFocus && vim.mode != 'Insert'",
"args": {
"cmd": "\u0015rails test ${file}",
"newTerminal": false,
"saveAllFiles": true,
"showTerminal": true,
"focus": true
}
},
{
"key": "\\ shift+t",
"command": "terminalCommandKeys.run",
"when": "editorTextFocus && vim.mode != 'Insert'",
"args": {
"cmd": "\u0015rails test ${file}:${line}",
"newTerminal": false,
"saveAllFiles": true,
"showTerminal": true,
"focus": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment