Skip to content

Instantly share code, notes, and snippets.

@ecoologic
Last active December 1, 2021 22:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecoologic/495f16a11d8fe44ad6e317edf54c61fa to your computer and use it in GitHub Desktop.
Save ecoologic/495f16a11d8fe44ad6e317edf54c61fa to your computer and use it in GitHub Desktop.

Shortcuts

Terminator

Next Window: ctrl+pgDown Reset terminal: ctrl+shift+g

RubyMine (default keymap - rsome emapping)

  • Copy file location ctrl+shift+c

  • New line above cursor (conflicted) shift+enter

  • Clone caret up (conflicted) (like subl) ctrl+shift+up

  • Move line down alt+shift+down

  • Extend selection (de-conflict) (like subl) ctrl+d

  • Shrink selection ctrl+shift+d

  • Select line at caret (conflicted) ctrl+y

  • Move to top of method, or previous methods alt+up

  • Settings... alt+,

  • Reopen closed tab (conflicted) ctrl+shift+w

  • Toggle Bookmark F11

  • Next Bookmark (conflicted) ctrl+shift+2

  • Prev Bookmark (conflicted) ctrl+shift+1

  • Close active editor (conflicted) ctrl+w

  • Select previous tab ctrl+pgUp

  • Move selection up

  • Add selection for next occurrence alt+j

  • Skip next occurrence ctrl+shift+j

  • Unselect occurrence alt+shift+j

  • Navigate Back ctrl+alt+[

  • Navigate: test ctrl+shift+t

  • Navigate: Line column ctrl+g

  • Navigate: Symbol ctrl+alt+shift+n

  • File structure (find method) ctrl+F12

  • Refactor this ctrl+alt+shift+t

  • Implementation ctrl+alt+b

  • Last edit location ctrl+shift+backspace

  • ERB <%= %> ctrl+shift+.

  • Move caret to code block start ctrl+[

  • New scratch file ctrl+alt+shift+ins

  • Reformat code ctrl+alt+shift+l

  • Toggle case ctrl+shift+u

  • Folde section ctlr+.

  • Close terminal shift+esc

Live Templates (snippets)

binding.pry (deb) <%= $ruby$ %> => <%= | %>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment