Keymap click event


#1

Is there a way to setup keymap to a click action, like clicking the line number to bookmark that line

'.editor .line-number:not(.icon-right)':
    'click': 'bookmarks:toggle-bookmark'

#2

You can create context menus by right clicking. But we don’t have a way of binding left clicks.