Sublime Text: Quickly adding color filters to view

in Windows:
  • C:\Users\xxx\AppData\Roaming\Sublime Text 3\Packages\User\log.YAML-tmLanguage
    - name: log.red
      match: regular expression goes here
    
  • C:\Users\xxx\AppData\Roaming\Sublime Text 3\Packages\User\Monokai2.tmTheme
    		<dict>
    			<key>scope</key>
    			<string>log.red</string>
    			<key>settings</key>
    			<dict>
    				<key>foreground</key>
    				<string>#ff0000</string>
    			</dict>
    		</dict>
    

Sublime Text: my keybindings

I like having CTRL+B for setting the bookmark, and then alt+pagedown/alt+pageup for moving between bookmarks.
The default keybindings for bookmarks are less intuitive for me, but it's obviously a personal preference.

My config for bookmark keybindings is:
	{ "keys": ["alt+pagedown"], "command": "next_bookmark" },
	{ "keys": ["alt+pageup"], "command": "prev_bookmark" },
	{ "keys": ["ctrl+b"], "command": "toggle_bookmark" },
Tip: To have it working in Sublime Text 3, go to Preferences -> Keybindings and simply add that config to JSON.

Also for home/end key bindings on Mac:
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} },
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },
{ "keys": ["shift+end"], "command": "move_to", "args": {"to": "eol", "extend": true} },
{ "keys": ["shift+home"], "command": "move_to", "args": {"to": "bol", "extend": true } }

Sublime Text: plugins I use

  • Better Coffeescript
  • Coffee Color Scheme
  • Package Dev
  • Stylus
  • WhoCalled Function Finder
JavaScript failed !
So this is static version of this website.
This website works a lot better in JavaScript enabled browser.
Please enable JavaScript.