Creating Editor Splits 0:00People from the VEM and even the sublime text world, to some extent, are very dependent upon splits. And if you're worried that a big IDE like PHP Storm doesn't support it, well, think again. Let's take a look. If I go up to Window, Editor Tabs, Split Vertically, there you go. And just like VEM, you can do this any number of times. So let's try it again. Editor Tabs, and now let's split this right side horizontally. And in this case, admittedly, I have a pretty low resolution because of the video recording. Keybinding Split Commands 0:23Editor Tabs, and now let's split this right side horizontally. And in this case, admittedly, I have a pretty low resolution because of the video recording. However, in real life, this stuff can be incredibly beneficial. The only problem, though, is I'm not up for going all the way down here just to create a new split. So why don't we create a new keybinding for that? To begin, if I just want to get rid of these, I can hit Command-W, just like a tab in any browser. Alright, I will hit Command-Comma to go into Preferences, and once again, within the Key Map, let's just look for Split.Alright, I will hit Command-Comma to go into Preferences, and once again, within the Key Map, let's just look for Split. And these are the two that I want. Now the convention that I like is Control-V for a vertical split, and Control-H for horizontal. So let's go ahead and add that. Add a shortcut of Control-V. I don't care if that's mapped to VCS, that can be remapped if I want it. Next, I will do one more, and this will be Control-H. Alright, and that's it. So now, take a look. Using Splits Efficiently 1:18Alright, and that's it. So now, take a look. I can be working within, in this case, my base controller, and if I want to create a quick split, Control-H, Command-P, track down anything that I need, and I'm good to go. When I'm finished with it, I can hit Command-W to close it out. Or if you prefer vertical splits, Control-V, here's our split, the cursor immediately switches over by the way, so you can immediately hit, for example, Command-R to find the method that you need. And lastly, don't forget, you can continue these splits as many times as you need to. Managing Multiple Splits 1:46that you need. And lastly, don't forget, you can continue these splits as many times as you need to. On a low resolution, it doesn't make sense, but on your big, high-res monitor, it can be really helpful to have four different splits. For example, one for your test, and maybe three others for the classes that you're currently working on to make that test pass. And don't forget, the process would be exactly the same. So let's create another horizontal split, within there, another vertical split, horizontal, and you can just go as crazy as you want. Now, if you want to resize these things, right now, you have to manually drag the mouse. Resizing Split Panes 2:14and you can just go as crazy as you want. Now, if you want to resize these things, right now, you have to manually drag the mouse. Now I'm hoping, and there is a request to be able to do this with the keyboard, however at least at the time of this recording, you have to use the mouse, which is unfortunate, but not the end of the world. All right, that'll do it for this lesson.