vimvisual-studio-codekeyboard-shortcuts

How to jump to file explorer in VS Code?


Using the VIM extension for VS Code is there a key command to jump to the explorer pane and then back to the work window?

I cannot find anything in the docs.

I'm hoping there is something like my Control+N binding for NERDTree which lets me open the file viewer, pick a file and then close it.


Solution

  • I am not familiar with NERDTree, but I think Ctrl+Shift+e does what you are asking in vs code. Alternatively Ctrl+p may be an alternative? You could look at linux keyboard shortcut for more reference.

    The link is also available in Help > Keyboard Shortcut Reference

    EDIT: I'm adding the equivalent shortcut for Mac OS since it's different layout. However, I don't use Mac OS.. So I add this without being able to confirm :

    Shift+Command+E Mac OS Keyboard shortcut for VS Code

    Windows keyboard shortcuts are very similar to linux ones. So, I'll just include the link to windows shortcuts doc here. Windows Keyboard shortcut for VS Code