Skip to content

Instantly share code, notes, and snippets.

@thheller
Created February 15, 2016 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thheller/594357dbae686e01f1c9 to your computer and use it in GitHub Desktop.
Save thheller/594357dbae686e01f1c9 to your computer and use it in GitHub Desktop.
{:mode-name :ruby
:atom-scope ["source.ruby"
"source.ruby.rails.rjs"
"source.ruby.rails"
"source.erb"
"source.ruby.rspec"
"source.ruby.chef"]
:initial-config
[["ruby-linter.rubyExecutablePath" "/usr/bin/ruby"]
["ruby-rubocop.executablePath" nil]]
:mode-keybindings
{:c {:category "convert block"
:d {:action "ruby-block-converter:to-curly-brackets"
:title "do..end -> {}"
:target "atom-text-editor:not([mini])"}
:D {:action "ruby-block-converter:to-curly-brackets-without-collapse"
:title "do..end -> {} (no-collapse)"
:target "atom-text-editor:not([mini])"}
:b {:action "ruby-block-converter:to-do-end"
:title "{} -> do..end"
:target "atom-text-editor:not([mini])"}
:B {:action "ruby-block-converter:to-do-end-without-join"
:title "{} -> do..end (no-join)"
:target "atom-text-editor:not([mini])"}}
:= {:title "fix formatting"
:action "rubocop-auto-correct:current-file"
:target "atom-text-editor:not([mini])"}
:t {:category "test"
:t {:action "ruby-test:toggle"
:title "toggle panel"}
:a {:action "ruby-test:test-all"
:title "test all"}
:f {:action "ruby-test:test-file"
:title "test file"}
:l {:action "ruby-test:test-single"
:title "test at line"}
:. {:action "ruby-test:test-previous"
:title "re-run previous test"}
:c {:action "ruby-test:cancel"
:title "cancel tests"}}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment