Help with binding


#1

Hello.

I’ve been trying to bind ‘cmd-d’ to duplicate line and ‘cmd-shift-d’ to delete line - for an hour.

This is the worst keybinding experience i’ve had in my entire life. Please help me.

Show me what to put in keymap.cson, thanks!


#2

Solution finally found:

'.editor:not([mini])':
  'cmd-d': 'editor:duplicate-lines'
  "cmd-shift-d": 'editor:delete-line'