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