I would like to configure a shortcut to make an active window full-screen.
You need to edit keybindings. Press Ctrl+K
and then Ctrl+S
to open keyboard shortcuts.
If you’re on a mac, use
Command
key instead ofCtrl
.
Search full screen
in search bar. You will see something like this:
Click on the result. Press Ctrl+K
and Ctrl+K
(again!) or click pencil icon to edit the shortcut. Press desired key combination. That’s it.
And here are some more shortcuts to learn:
Press Ctrl+K
and then Z
to open editor in full screen without explorer and terminal, etc. And you can use Ctrl+B
to show/hide side bar and Ctrl+J
to show terminal and console panel.
Download keyboard shortcuts file here for your favourite OS.
To make these hotkeys work in vim-mode:
Actually VSCodeVim
will take over your control keys. This behaviour can be adjusted with the useCtrlKeys
and handleKeys settings. Go to File>>Preferences>>Keyboard Shortcuts
. Search for Ctrl+k
in search bar. You will see extension.vim_ctrl+k
as below:
Change this hotkey. Now it should work.