Last active
December 24, 2023 18:16
-
-
Save aviflax/53342ae9f07cddea824828ebc53ce288 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[ | |
// // Evaluate | |
{"keys": ["ctrl+enter"], | |
"command": "clojure_sublimed_eval", | |
"context": [{"key": "selector", "operator": "equal", "operand": "source.clojure"}]}, | |
// // Evaluate Buffer | |
{"keys": ["ctrl+b"], | |
"command": "clojure_sublimed_eval_buffer", | |
"context": [{"key": "selector", "operator": "equal", "operand": "source.clojure"}]}, | |
// // Interrupt Pending Evaluations | |
{"keys": ["ctrl+c"], | |
"command": "clojure_sublimed_interrupt_eval", | |
"context": [{"key": "selector", "operator": "equal", "operand": "source.clojure"}]}, | |
// // Toggle Info | |
{"keys": ["ctrl+i"], | |
"command": "clojure_sublimed_toggle_info", | |
"context": [{"key": "selector", "operator": "equal", "operand": "source.clojure"}]}, | |
// // Clear Evaluation Results | |
{"keys": ["ctrl+l"], | |
"command": "clojure_sublimed_clear_evals", | |
"context": [{"key": "selector", "operator": "equal", "operand": "source.clojure"}]}, | |
// // Look for .nrepl-port file and try connection to port in it | |
{"keys": ["ctrl+j"], | |
"command": "clojure_sublimed_connect_nrepl_jvm", | |
"args": {"address": "auto"}}, | |
{"keys": ["ctrl+t"], | |
"command": "clojure_sublimed_eval_code", | |
"args": {"code": "(let [{:keys [fail error] :as res} (clojure.test/run-tests)] , (if (or (pos? fail) (pos? error)) , (str (clojure.string/join (repeat 10 \"🚨\")) \" \" res) , \"✅\"))"} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment