Effective PyCharm Transcripts
Chapter: The Editor
Lecture: Concept: Discovering new features

Login or purchase this course to watch this video and the rest of the course contents.
0:01 We saw that we can use this find action either CMD shift A or CTRL shift A to put it in our platform so you hit that sequence of keys
0:10 and you type a little bit of what you're looking for and it will even tell you like for example, refactor this is CTRL T.
0:16 However, be aware that that CTRL T is based on the key mappings I chose when I installed PyCharm and ran it
0:24 you can change these later under preferences but basically, these get set and you're sort of stuck with them
0:31 so on Windows, you might have a different set of keystrokes and there's actually a nice cheat sheet you can see at the bottom
0:37 bitly/pycharm-card you can get it there that'll show you the various default key bindings and commands
0:44 and sort of helps you discover that, we talked about that earlier. But, we can actually go and change these key bindings here under preferences
0:52 so under key map you can say what I have is macOS X 10.5 + and that will give you all those options
0:59 here on the right you see that probably is like 5 or 6 pages of hotkey commands. I could choose Emacs if I was really into Emacs
1:07 or if I came from Eclipse and I wanted to use that I could pick that. NetBeans, Visual Studio, like F5 would be run or debug
1:15 in Visual Studio CTRL F5 would be run, things like that. There's actually some listed here that are off the screen.
1:21 I show you this because one, it's cool to pick the one that you like so if you're .Net developer pick Visual Studio,
1:27 if you are a Java developer maybe Eclipse is a good choice. I just chose the macOS X 10.5 + version
1:36 because I just wanted to use whatever the default was for my OS. The other reason I show you this is you can change your hotkeys here
1:45 so if you wanted to like cut up to line end, right now it's CTRL K and that's kind of Emacs or so, that's totally good
1:51 but if you want it to be shift CTRL K you could come here and change that and make a custom key binding so that's pretty awesome as well.
1:59 Finally, if you're into Vim, you saw there is an Emacs dropdown for the key binding, but no Vim, just go get IdeaVim,
2:06 remember IntelliJ Idea the IntelliJ platform so IdeaVim is the foundational Vim key bindings
2:15 for all the various JetBrains IDEs, so PyCharm, WebStorm, IntelliJ of course,
2:22 and you can install this and you can have Vim bindings if that makes you happy. So this is made by JetBrains I think
2:28 if you scroll down somewhere it says who makes it but yeah, you can install this and this will give you Vim bindings as well.
2:34 Some of the few key strokes that you want to really remember all the time is how to run the active configuration
2:41 so ctrl R on Mac, I think I said F5 or shift F10 on Windows and Linux select words, ALT shift arrow the whole thing is CTRL shift arrow I think
2:57 go to definition is CMD B or CTRL B or the CMD click, there's so many more so be sure to check out the cheat sheet
3:01 just to kind of know what's out there.


Talk Python's Mastodon Michael Kennedy's Mastodon