# How to delete a context variable (wastebasket icon) with keyboard instead of mouse?

**URL:** <https://discourse.nodered.org/t/how-to-delete-a-context-variable-wastebasket-icon-with-keyboard-instead-of-mouse/54114>\
**Category:** General\
**Created:** [22 November 2021 14:51 UTC](https://discourse.nodered.org/t/how-to-delete-a-context-variable-wastebasket-icon-with-keyboard-instead-of-mouse/54114 "2021-11-22T14:51:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bwims](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bwims/32/64907_2.png) [@bwims](https://discourse.nodered.org/u/bwims)\
**Post date:** [22 November 2021 14:51 UTC](https://discourse.nodered.org/t/how-to-delete-a-context-variable-wastebasket-icon-with-keyboard-instead-of-mouse/54114/1 "2021-11-22T14:51:44Z")

</div>

Hi,

sometimes I want to clear a lot of context variables using the editor sidebar. Each time I click the wastebasket icon, I get the popup "Are you sure you want to delete this item?"

Is there any way to do with with a keystroke using my left hand so that my right hand moves the mouse downwards instead of flipping across to confirm each delete?

Trivial I know, but still annoying. Neither a spacebar or a CR/Enter does the trick.

Thanks!

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [22 November 2021 15:05 UTC](https://discourse.nodered.org/t/how-to-delete-a-context-variable-wastebasket-icon-with-keyboard-instead-of-mouse/54114/2 "2021-11-22T15:05:09Z")

</div>

Hi @bwims

I'm afraid not - that bit of the UI has been developed primarily with the mouse in mind. Will look at making it more accessible.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 January 2022 15:05 UTC](https://discourse.nodered.org/t/how-to-delete-a-context-variable-wastebasket-icon-with-keyboard-instead-of-mouse/54114/3 "2022-01-21T15:05:23Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
