I have recently run into the following use case in LightTable:
user.keymap
where I am supposed to add a line like [:editor "alt-shift-w" :editor.watch.unwatch]
:editor.watch.unwatch
-like key for the command I have just found. All I know is the displayed name of this command: Editor: duplicate line
Is there a way to add this keybinding without digging up the documentation and finding the key?
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.