reactjs/sublime-react — pull request #10 by frantic (2014-06-03 23:01:55+00:00)
Title: Add "Wrap in a component" snippet

Built-in Sublime snippet
![](http://recordit.co/vz1HLWd8mN.gif)

React-specific modification
![](http://recordit.co/QePA08T98E.gif)

To assign a hotkey for the snippet, go to Preferences - Key Bindings - User

[
{
"keys": ["ctrl+shift+w"],
"command": "insert_snippet",
"args": { "name": "Packages/sublime-react/wrap.sublime-snippet" }
}
]