Skip to content

Instantly share code, notes, and snippets.

@isteves
Last active January 5, 2021 09:06
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 isteves/62b0e7a9d9c8fff21dc55de5d02d5316 to your computer and use it in GitHub Desktop.
Save isteves/62b0e7a9d9c8fff21dc55de5d02d5316 to your computer and use it in GitHub Desktop.
pycharm shortcuts

Pycharm shortcuts

Useful shortcuts

  • control + shift + r -- runs the script ("source")

Matching RStudio

It's a pain to relearn shortcuts for every program, so I adjusted a few Pycharm shortcuts to match what I'm used to in RStudio.

To change shortcuts, go to Pycharm --> Preferences --> Keymap

  • Execute Selection in Python Console -- I changed this to command + enter so that the line my cursor is on will run in the console
  • Comment with Line Comment & Comment with Block Comment -- changed this to cmd+ shift + c to match commenting in RStudio (possibly don't need to change both but didn't check)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment