WEBVTT 1 00:00:00.005 --> 00:00:01.007 - [Instructor] Android Studio comes 2 00:00:01.007 --> 00:00:04.003 with a default set of keyboard shortcuts 3 00:00:04.003 --> 00:00:07.003 referred to collectively as the keymap. 4 00:00:07.003 --> 00:00:10.003 You can see an exhaustive list of these keyboard shortcuts 5 00:00:10.003 --> 00:00:14.004 in a PDF file by going to the menu and selecting help, 6 00:00:14.004 --> 00:00:16.003 keymap reference. 7 00:00:16.003 --> 00:00:19.005 This PDF document has two pages. 8 00:00:19.005 --> 00:00:22.005 The first page is the Windows and Linux keymap. 9 00:00:22.005 --> 00:00:23.007 And the second page has all 10 00:00:23.007 --> 00:00:27.007 the keyboard shortcuts for macOS. 11 00:00:27.007 --> 00:00:30.001 Now you can control these keyboard shortcuts 12 00:00:30.001 --> 00:00:33.008 and add your own custom ones, to do that, 13 00:00:33.008 --> 00:00:37.008 go to the Android Studio preferences or settings, 14 00:00:37.008 --> 00:00:40.001 and then select keymap. 15 00:00:40.001 --> 00:00:42.007 Notice that there are many different built-in keymaps 16 00:00:42.007 --> 00:00:45.005 available and you can choose from one of these, 17 00:00:45.005 --> 00:00:48.000 or you can create your own. 18 00:00:48.000 --> 00:00:51.007 I'm starting with macOS because I'm working on a Mac and 19 00:00:51.007 --> 00:00:55.002 I'm going to click this gear icon and select duplicate. 20 00:00:55.002 --> 00:00:57.009 The name of the new keymap is macOS copy. 21 00:00:57.009 --> 00:01:00.000 I'll press enter to save that. 22 00:01:00.000 --> 00:01:02.003 And now I can start making changes. 23 00:01:02.003 --> 00:01:04.008 Let's say that I'm using GitHub branches a lot, 24 00:01:04.008 --> 00:01:07.001 and I just want to make it a little bit faster 25 00:01:07.001 --> 00:01:09.005 to open up the branches list. 26 00:01:09.005 --> 00:01:13.009 I'll go to version control systems here, to Git, 27 00:01:13.009 --> 00:01:17.004 then I'll scroll down and I'm looking for branches. 28 00:01:17.004 --> 00:01:19.002 I'll select it, 29 00:01:19.002 --> 00:01:21.003 then I'll double click on it and choose 30 00:01:21.003 --> 00:01:24.006 add keyboard shortcut. 31 00:01:24.006 --> 00:01:28.003 Now I can press the keyboard shortcut that I want to use. 32 00:01:28.003 --> 00:01:29.009 If I choose a keyboard shortcut 33 00:01:29.009 --> 00:01:32.007 that's already assigned to some other action, 34 00:01:32.007 --> 00:01:34.007 I'll be told that right away. 35 00:01:34.007 --> 00:01:36.008 And if I want to override it, I can, 36 00:01:36.008 --> 00:01:38.009 or I can try another one. 37 00:01:38.009 --> 00:01:42.000 So I'm working on a Mac keyboard and I'll choose 38 00:01:42.000 --> 00:01:43.006 Option and then the letter B, 39 00:01:43.006 --> 00:01:45.004 and that keyboard shortcut is clear. 40 00:01:45.004 --> 00:01:49.005 So I'll click OK to save it and notice that that is now 41 00:01:49.005 --> 00:01:54.006 documented on the right side and I'll click OK to save that. 42 00:01:54.006 --> 00:01:56.008 And now anytime I want to see my branch list, 43 00:01:56.008 --> 00:01:58.008 I can press Option and B 44 00:01:58.008 --> 00:02:01.003 and the branches list shows up. 45 00:02:01.003 --> 00:02:02.008 As you use Android Studio, 46 00:02:02.008 --> 00:02:05.006 you'll find that you're using certain features a lot 47 00:02:05.006 --> 00:02:07.005 and others not so much. 48 00:02:07.005 --> 00:02:10.007 And then you can customize the keymap to create your own 49 00:02:10.007 --> 00:02:12.009 keyboard shortcuts for those actions 50 00:02:12.009 --> 00:02:14.004 that you use all the time.