ijprest / keyboard-layout-editor

Web application to enable the design & editing of keyboard layouts
http://www.keyboard-layout-editor.com/
Other
1.3k stars 241 forks source link

Keyboard shortcuts website #213

Closed albfan closed 6 years ago

albfan commented 6 years ago

Is it possible to add some behaviour for keyboards? like:

  1. press Ctrl, highlight all keys linked to it, and a list of actions. Press a second key and highlight only that unique command. i. e.

Press Ctrl, highlight:

And show list of actions:

Press V:

Show only:

  1. Add program shorcuts list (tmux, vim, emacs, ...)

  2. Allow to filter on those actions to see the key combination (look for paste) and get Shift+Insert or Ctrl+V or p (for vim)

  3. See all the combinations a program uses to see avaliable shortcuts and look for consistency (like hiding non used keys, or second or third strokes on key combos)

I was looking for that long time ago. Can provide PR if you guide me and find interesting

iandoug commented 6 years ago

Um, KLE is a layout design tool... I think what you want is best done by having separate copies of the layout for each action you want to do. You seem to be basically describing "layers".

albfan commented 6 years ago

Yes, layers would be a great description. Any way to implement that based on KLE?

I would try something like a docker to run a server to expose a website like that

iandoug commented 6 years ago

I think what people usually do is make a separate version for each layer. Eg copy all keys, paste below, and put the characters for the next layer on. I saw a good example many months ago but can't find it now, these links may help illustrate what I mean:

https://forum.bepo.fr/viewtopic.php?pid=10369 (scroll down to 18/12/2014 23:12:37 )

or this, which is shown in two separate pics: https://github.com/Mange/dotfiles/tree/72b59da395c8ede4104957d2182f9ac139f05f99/keyboard

albfan commented 6 years ago

Nice, let me know if you want updates for these, I will close them.