Skip to content

Instantly share code, notes, and snippets.

View avataru's full-sized avatar

Mihai Zaharie avataru

View GitHub Profile
@avataru
avataru / Default (Windows).sublime-keymap
Last active January 4, 2016 02:39
Sublime preferences and packages
[
{ "keys": ["f4"], "command": "import_namespace" },
{ "keys": ["f5"], "command": "find_use" },
{ "keys": ["f6"], "command": "expand_fqcn" },
{ "keys": ["f7"], "command": "insert_php_constructor_property" },
{ "keys": ["shift+f12"], "command": "goto_definition_scope" },
]
@avataru
avataru / Sublime regex replace
Last active June 16, 2021 18:10
Sublime Text change case of back-reference during regex find and replace
When performing a regex find-and-replace in Sublime Text 2, the following modifiers may be used to change the case of a backreference during the replacement step:
\l : first character to lower case
\u : first character to upper case
\L : start of lower case conversion
\U : start of upper case conversion
\E : end lower/upper case conversion
(Conversion only applies to alpha-characters)