简体   繁体   中英

VSCode: How to split editor using same shortkeys as Sublime Text

In Sublime Text I can use the following shortkeys:

ALT+SHIFT+2 : create two columns
ALT+SHIFT+3 : create three columns
...

I want to be able to do the exact same thing in VSCode (without downloading the Sublime Text keybinding since I want the rest to stay the same)

If you search for columns within the "Keyboard Shortcuts" editor, you wil see these options:

workbench.action.editorLayoutTwoColumns

workbench.action.editorLayoutThreeColumns

They are unbound to any keyboard shortcut by default. Click the plus sign to the left of each of these commands in turn and you will get a dialog box where you can enter your chosen keybinding for each and you are done.

演示

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM