Visual studio for mac toggle code

broken image

To enable these yourself, Press Cmd+Shift+P and type keyboard to find Preferences: Open Keyboard Shortcuts File. The gist below creates custom VS Code Terminal Keybindings to enable Ctrl+` to switch back to the editor. Recently I came across the following key bindings to make the switch a little easier, and save key strokes. In the past I would have to use the mouse to get back to the editor pane, or Ctrl+P, search for the file name and then return to the editor. I use PowerShell and bash scripts to automate many of my development tasks, so getting to the terminal quickly is essential. One of the first shortcuts I learned was Ctrl + ` shortcut to open the terminal. One of the best parts of VS Code is the built in terminal. I have been using Visual Studio Code on a Mac since the early releases. Using custom key bindings can save even more precious key strokes! Learning VS Code keyboard shortcuts to minimize 'mouse time' makes you more efficient and can help keep you in the flow of coding when you have limited coding time.

broken image

As a developer at heart, I am constantly trying to get better at increasing 'hands on keyboard' time to be more efficient with the time I have to code.