# In VSCode-Julia, how to remap "up" key while in the REPL?

**URL:** <https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279>\
**Category:** VS Code\
**Created:** [February 14, 2021, 10:24pm UTC](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279 "2021-02-14T22:24:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![marty0801](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marty0801/32/12715_2.png) [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Post date:** [February 14, 2021, 10:24pm UTC](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279/1 "2021-02-14T22:24:33Z")

</div>

I’d like to use `Ctrl-p` to load previous commands at the REPL prompt. I assume the correct approach is to modify Keyboard Shortcuts, but I can’t seem to identify the corresponding command.

Things I’ve tried: Searched shortcuts for “up”; none of the commands seem relevant:

 ![Screenshot from 2021-02-14 17-21-39](https://global.discourse-cdn.com/julialang/original/3X/c/4/c46ccbced1df5658e7108d1b006a008cc56c08bc.png)

I also tried looking at the keyboard debugger log, but to no avail. Thanks!

---

<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:** [February 15, 2021, 8:55am UTC](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279/2 "2021-02-15T08:55:37Z")

</div>

Check out the `terminal.integrated.commandsToSkipShell` setting (which actually has your exact example):

 ![image](https://global.discourse-cdn.com/julialang/original/3X/a/2/a20470aaf96145ff5141cff4ea5f45f7ab82b41a.png)

---

<div class="post-metadata">

**Author:** ![marty0801](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marty0801/32/12715_2.png) [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Post date:** [February 15, 2021, 11:33am UTC](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279/3 "2021-02-15T11:33:29Z")

</div>

> [@pfitzseb](#):
>
> `terminal.integrated.commandsToSkipShell`

Thanks. How did you get to that screenshot you showed?

---

<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:** [February 15, 2021, 11:35am UTC](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279/4 "2021-02-15T11:35:42Z")

</div>

Hit `Ctrl-,` to access the settings and search for the ID I mentioned above.

---

<div class="post-metadata">

**Author:** ![marty0801](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marty0801/32/12715_2.png) [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Post date:** [February 15, 2021, 12:01pm UTC](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279/5 "2021-02-15T12:01:25Z")

</div>

> [@pfitzseb](#):
>
> `terminal.integrated.commandsToSkipShell`

I wasn’t sure which setting to add to the list, so I added every one that looked relevant to my settings.json. Behavior is unchanged.

 ![Screenshot from 2021-02-15 06-59-23](https://global.discourse-cdn.com/julialang/original/3X/9/c/9c71e41cdf3efd5f66b989ee8ce41bbd75904ba3.png)

---

<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:** [February 15, 2021, 12:08pm UTC](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279/6 "2021-02-15T12:08:37Z")

</div>

You want

```julia
    "terminal.integrated.commandsToSkipShell": [
        "language-julia.interrupt",
        "-workbench.action.quickOpen"
    ],

```

just like the description of that setting suggests.

---

<div class="post-metadata">

**Author:** ![marty0801](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marty0801/32/12715_2.png) [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Post date:** [February 15, 2021, 12:37pm UTC](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279/7 "2021-02-15T12:37:40Z")

</div>

Thanks…apologies for my obtuseness. Much obliged.
