Created
April 3, 2013 15:59
-
-
Save jjedMoriAnktah/5302506 to your computer and use it in GitHub Desktop.
Sort and keep only the unique lines selected in Sublime Text 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Key bindigs | |
{ "keys": ["ctrl+alt+u"], "command": "run_macro_file", "args": {"file": "Packages/User/keep_only_uniq_items.sublime-macro"} } | |
// The macro code | |
[ | |
{ | |
"args": | |
{ | |
"case_sensitive": false | |
}, | |
"command": "sort_lines" | |
}, | |
{ | |
"args": | |
{ | |
"operation": "unique" | |
}, | |
"command": "permute_lines" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment