Created
February 14, 2022 21:59
-
-
Save Sumith1896/6ea8fa9089d7a3704c96597971c22c53 to your computer and use it in GitHub Desktop.
vscode keybindings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "ctrl+i", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"snippet": "import ipdb; ipdb.set_trace()" | |
} | |
} | |
{ | |
"key": "ctrl+alt+q", | |
"command": "editor.action.insertSnippet", | |
"when": "editorTextFocus", | |
"args": { | |
"snippet": "#!/bin/bash\n#\n#SBATCH --job-name=JOBNAME\n#SBATCH --partition=PARTITION\n#SBATCH --gres=gpu:GPUS\n#SBATCH --nodelist=NODES\n#SBATCH --mem=MEMGB\n#SBATCH --cpus-per-task=CPUS\n\neval\ \"$(conda shell.bash hook)\"\nconda activate ENVNAME\nexport PATH=/viscam/u/sumith/Jacinle/bin:$PATH\n\n" | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment