40

I'd like to add a hotkey for the menu item Edit>Permute Lines>Unique, but what I've added to my user keybindings isn't working:

[{ "keys": ["f8"], "command": "permuteLines method unique" }]

What should I have added?

1 Answer 1

42

Take a look at this question/answer: How can I set key bindings for menu items in Sublime Text 2?.

Add to your User keymap:

{ "keys": ["f8"], "command": "permute_lines", "args": {"operation": "unique"} }
1
  • Thanks - I didn't understand the syntax for arguments.
    – Thalecress
    Mar 6, 2013 at 17:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .