lighttable

How to bind a key combination to a command?


I have recently run into the following use case in LightTable:

Is there a way to add this keybinding without digging up the documentation and finding the key?


Solution

  • If you add the beginning of a line like this to your user.keymap:

    [:editor "alt-shift-w" 
    

    and position the keyboard cursor at the end of the line you should be able to type duplicate line and the relevant command should be listed in a popup autocomplete menu.