# Shortcuts for editor/repl switching

**URL:** <https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955>\
**Category:** VS Code\
**Tags:** question\
**Created:** [November 10, 2020, 11:23pm UTC](https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955 "2020-11-10T23:23:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkarikom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkarikom/32/7096_2.png) [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Post date:** [November 10, 2020, 11:23pm UTC](https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955/1 "2020-11-10T23:23:16Z")

</div>

I’m used to being able to quickly go to the last editor (ctrl-j, ctrl-e) or to the repl (ctrl-j, ctrl-o) in juno.

Is anyone willing to throw some hand-holding in the docs for how to do this in vs code?

I looked at the [defaults](https://www.julia-vscode.org/docs/dev/userguide/keyboard/#) and didn’t see anything.

Then I looked at [vs code keybindings documentation](https://code.visualstudio.com/docs/getstarted/keybindings#_troubleshooting-keybindings) and got scared and came here.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [November 10, 2020, 11:30pm UTC](https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955/2 "2020-11-10T23:30:13Z")

</div>

@pfitzseb has a bunch of custom commands to do this for VS Code. I couldn’t figure out how to get them installed because indeed, VS Code keybindings docs are not to be trifled with. I was suggesting that a small package for Juno keybindings be released: that would greatly help the transition of Juno features to VS Code.

---

<div class="post-metadata">

**Author:** ![mkarikom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkarikom/32/7096_2.png) [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Post date:** [November 10, 2020, 11:43pm UTC](https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955/3 "2020-11-10T23:43:48Z")

</div>

Agreed, a juno [keymap extension for vs code](https://code.visualstudio.com/docs/getstarted/keybindings#_keymap-extensions) would be a productivity boon for many… which I would gladly volunteer another person to write

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [November 11, 2020, 9:14am UTC](https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955/4 "2020-11-11T09:14:59Z")

</div>

Juno-like keybindings for the VSCode extension can be found [here](https://github.com/julia-vscode/julia-vscode/wiki/Keyboard-shortcuts#replicating-juno-shortcuts).

There are no default shortcuts for focusing the editor/terminal pane, but you can set them yourself. The relevant commands are `View: Focus Previous Editor Group` and `Terminal: Focus on Terminal View`.

Setting them is easy:

1. Hit Ctrl-Shift-P to open the command palette
2. Type in `Open Keyboard Shortcuts`
3. Paste one of the command names above into the search bar
4. Click the little plus on the left
5. Type the desired keybinding

For consistency, I’d use `Alt-J Alt-E` and `Alt-J Alt-O`.

> [@ChrisRackauckas](#):
>
> I was suggesting that a small package for Juno keybindings be released: that would greatly help the transition of Juno features to VS Code.

Yeah maybe I should get on that. We still plan to rework the default keybindings, but that obviously doesn’t cover any that aren’t provided by the extension (like the ones mentioned here).
