Created
January 4, 2015 19:20
-
-
Save rleger/d1c928c3930f07b14764 to your computer and use it in GitHub Desktop.
Initialize fields from php controller macro - Sublime text 3
This file contains 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
Show hidden characters
[ | |
{ | |
"command": "escape" | |
}, | |
{ | |
"command": "expand_selection", | |
"args": {"to": "word"} | |
}, | |
{ | |
"args": null, | |
"command": "copy" | |
}, | |
{ | |
"args": { | |
"by": "lines", | |
"forward": true | |
}, | |
"command": "move" | |
}, | |
{ | |
"args": { | |
"characters": "\n" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": { | |
"characters": "$this-" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": { | |
"characters": ">" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": null, | |
"command": "paste_and_indent" | |
}, | |
{ | |
"args": { | |
"characters": " =" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": { | |
"characters": " $" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": null, | |
"command": "paste_and_indent" | |
}, | |
{ | |
"args": { | |
"characters": ";" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": { | |
"by": "lines", | |
"forward": false | |
}, | |
"command": "move" | |
}, | |
{ | |
"args": { | |
"by": "lines", | |
"forward": false | |
}, | |
"command": "move" | |
}, | |
{ | |
"args": { | |
"to": "bol" | |
}, | |
"command": "move_to" | |
}, | |
{ | |
"args": { | |
"characters": "\n\n" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": { | |
"by": "lines", | |
"forward": false | |
}, | |
"command": "move" | |
}, | |
{ | |
"args": { | |
"by": "lines", | |
"forward": false | |
}, | |
"command": "move" | |
}, | |
{ | |
"args": { | |
"characters": "protected" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": { | |
"characters": " " | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": { | |
"characters": "$" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": null, | |
"command": "paste_and_indent" | |
}, | |
{ | |
"args": { | |
"characters": ";" | |
}, | |
"command": "insert" | |
}, | |
{ | |
"args": { | |
"by": "lines", | |
"forward": true | |
}, | |
"command": "move" | |
}, | |
{ | |
"args": { | |
"by": "lines", | |
"forward": true | |
}, | |
"command": "move" | |
}, | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment