# How to set or customize keyboard shortcuts in Slicer?

**URL:** <https://discourse.slicer.org/t/how-to-set-or-customize-keyboard-shortcuts-in-slicer/14814>\
**Category:** Support\
**Created:** [November 30, 2020, 7:52am UTC](https://discourse.slicer.org/t/how-to-set-or-customize-keyboard-shortcuts-in-slicer/14814 "2020-11-30T07:52:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aitekk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aitekk/32/7890_2.png) [@Aitekk](https://discourse.slicer.org/u/Aitekk)\
**Post date:** [November 30, 2020, 7:52am UTC](https://discourse.slicer.org/t/how-to-set-or-customize-keyboard-shortcuts-in-slicer/14814/1 "2020-11-30T07:52:44Z")

</div>

I have some problems about using Slicer. First, how to set or customize keyboard shortcuts in Slicer? This will make slicer more in line with my habits. In addition, I found that when there are many segments in the scene, the display of all view windows is delayed, especially when using tools such as Paint or Draw effect. How to avoid it? I will be appreciate for the help, thanks!

---

<div class="post-metadata">

**Author:** ![joachim](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@joachim](https://discourse.slicer.org/u/joachim)\
**Post date:** [November 30, 2020, 11:02am UTC](https://discourse.slicer.org/t/how-to-set-or-customize-keyboard-shortcuts-in-slicer/14814/2 "2020-11-30T11:02:43Z")

</div>

The Slicer application can be controlled a lot with Python scripting. [Here is an example for adding keyboard shortcuts](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Customize_keyboard_shortcuts).

---

<div class="post-metadata">

**Author:** ![Aitekk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aitekk/32/7890_2.png) [@Aitekk](https://discourse.slicer.org/u/Aitekk)\
**Post date:** [December 1, 2020, 6:46am UTC](https://discourse.slicer.org/t/how-to-set-or-customize-keyboard-shortcuts-in-slicer/14814/3 "2020-12-01T06:46:30Z")

</div>

Thans for your help! The efficiency of my work has been improved obviously as your solution.
