Best practices for designing keyboard shortcuts

前端 未结 3 856
星月不相逢
星月不相逢 2021-02-05 10:23

I am a big fan of keyboard shortcuts. If some function or operation doesn\'t have shortcut I tend to write a little program and attach Ctrl + Alt + [key] s

3条回答
  •  误落风尘
    2021-02-05 10:32

    Shortcuts need to be memorable, which is why Ctrl + S (save) and Ctrl + N (new) work well, some programmers have taken it as far as changing the shortcuts in different languages. (Ctrl + B for bold was Ctrl + F for fett in old versions of MS Write.) Similarly, X resembles scissors and V an insertion mark, hence cut and paste.

    On a more advanced level, prevent accidental effects that cannot be undone: more dangerous commands need more complex safety guards: something like Ctrl + Alt + Del is pretty difficult to type accidentally.

    Also bear in mind that Alt is the menu access key.

提交回复
热议问题