Last active
March 5, 2016 11:45
-
-
Save avamsi/4b98b391b3aa33526e37 to your computer and use it in GitHub Desktop.
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
Show hidden characters
[ | |
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }, | |
{ "keys": ["ctrl+shift+s"], "command": "save" }, | |
{ "keys": ["ctrl+shift+v"], "command": "paste_from_history" }, | |
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, | |
{ "keys": ["shift+f7"], "command": "build", "args": {"select": true} }, | |
{ "keys": ["ctrl+]"], "command": "fold" }, | |
{ "keys": ["ctrl+["], "command": "unfold" }, | |
{ "keys": ["alt+right"], "command": "next_view" }, | |
{ "keys": ["alt+left"], "command": "prev_view" }, | |
{ "keys": ["alt+up"], "command": "focus_neighboring_group" }, | |
{ "keys": ["alt+down"], "command": "focus_neighboring_group", "args": {"forward": false} }, | |
{ "keys": ["ctrl+left"], "command": "move", "args": {"by": "subwords", "forward": false} }, | |
{ "keys": ["ctrl+right"], "command": "move", "args": {"by": "subword_ends", "forward": true} }, | |
{ "keys": ["ctrl+shift+left"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} }, | |
{ "keys": ["ctrl+shift+right"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} }, | |
{ | |
"keys": ["f8"], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"autocomplete_server": true, | |
"cmd": ["python", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"], | |
"cwd": "$file_path", | |
"syntax": "Packages/Python/Python.tmLanguage", | |
"external_id": "ipython", | |
"extend_env": { | |
"PYTHONIOENCODING": "utf-8", | |
"SUBLIMEREPL_EDITOR": "$editor" | |
} | |
} | |
}, | |
{ | |
"keys": ["shift+f8"], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"autocomplete_server": true, | |
"cmd": ["python3", "-u", "${packages}/SublimeREPL/config/Python/ipy3_repl.py"], | |
"cwd": "$file_path", | |
"syntax": "Packages/Python/Python.tmLanguage", | |
"external_id": "ipython3", | |
"extend_env": { | |
"PYTHONIOENCODING": "utf-8", | |
"SUBLIMEREPL_EDITOR": "$editor" | |
} | |
} | |
}, | |
{ | |
"keys": ["ctrl+b"], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"cmd": ["python", "-u", "$file_basename"], | |
"cwd": "$file_path", | |
"syntax": "Packages/Python/Python.tmLanguage", | |
"external_id": "python", | |
"extend_env": {"PYTHONIOENCODING": "utf-8"} | |
} | |
}, | |
{ | |
"keys": ["ctrl+."], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"cmd": ["cmd", "/c", "python -u $file_basename < _.in"], | |
"cwd": "$file_path", | |
"syntax": "Packages/Python/Python.tmLanguage", | |
"external_id": "python", | |
"extend_env": {"PYTHONIOENCODING": "utf-8"} | |
} | |
}, | |
{ | |
"keys": ["ctrl+shift+b"], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"cmd": ["python3", "-u", "$file_basename"], | |
"cwd": "$file_path", | |
"syntax": "Packages/Python/Python.tmLanguage", | |
"external_id": "python3", | |
"extend_env": {"PYTHONIOENCODING": "utf-8"} | |
} | |
}, | |
{ | |
"keys": ["ctrl+b"], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"cmd": ["sh", "-c", "g++ -Wall -std=gnu++14 $file_basename && ./a.exe && rm ./a.exe"], | |
"cwd": "$file_path", | |
"syntax": "Packages/C++/C++.tmLanguage", | |
"external_id": "c++" | |
}, | |
"context": [ | |
{"key": "selector", "operand": "source.c++, source.c"} | |
] | |
}, | |
{ | |
"keys": ["ctrl+."], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"cmd": ["sh", "-c", "g++ -Wall -std=gnu++14 $file_basename && ./a.exe < _.in && rm ./a.exe"], | |
"cwd": "$file_path", | |
"syntax": "Packages/C++/C++.tmLanguage", | |
"external_id": "c++" | |
}, | |
"context": [ | |
{"key": "selector", "operand": "source.c++, source.c"} | |
] | |
}, | |
{ | |
"keys": ["ctrl+shift+b"], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"cmd": ["sh", "-c", "g++ -Wall $file_basename && ./a.exe && rm ./a.exe"], | |
"cwd": "$file_path", | |
"syntax": "Packages/C++/C++.tmLanguage", | |
"external_id": "c++" | |
}, | |
"context": [ | |
{"key": "selector", "operand": "source.c++, source.c"} | |
] | |
}, | |
{ | |
"keys": ["ctrl+b"], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"cmd": ["sh", "-c", "javac $file_basename && java Main && rm ./*.class"], | |
"cwd": "$file_path", | |
"syntax": "Packages/Java/Java.tmLanguage", | |
"external_id": "java" | |
}, | |
"context": [ | |
{"key": "selector", "operand": "source.java"} | |
] | |
}, | |
{ | |
"keys": ["ctrl+b"], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"cmd": ["go", "run", "$file_basename"], | |
"cwd": "$file_path", | |
"syntax": "Packages/Go/Go.tmLanguage", | |
"external_id": "go" | |
}, | |
"context": [ | |
{"key": "selector", "operand": "source.go"} | |
] | |
}, | |
{ | |
"keys": ["ctrl+b"], | |
"command": "repl_open", | |
"args": { | |
"type": "sublime_haskell", | |
"encoding": "utf8", | |
"cmd": ["runhaskell", "$file_basename"], | |
"cwd": "$file_path", | |
"syntax": "Packages/Haskell/Haskell.tmLanguage", | |
"external_id": "haskell" | |
}, | |
"context": [ | |
{"key": "selector", "operand": "source.haskell"} | |
] | |
}, | |
{ | |
"keys": ["ctrl+b"], | |
"command": "repl_open", | |
"args": { | |
"type": "subprocess", | |
"encoding": "utf8", | |
"cmd": ["cmd", "/c", "$file_basename"], | |
"cwd": "$file_path", | |
"external_id": "cmd" | |
}, | |
"context": [ | |
{"key": "selector", "operand": "source.dosbatch"} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment