Skip to content

Instantly share code, notes, and snippets.

@iaian
iaian / sublimeText2_contextMenu.reg
Last active January 15, 2019 15:46
Add SublimeText 2 context menu to windows explorer. If item is folder, context menu has option "open in sublimetext project". If is file, "open in sublime text 2" option is added to context menu. Tested on windows 7
Windows Registry Editor Version 5.00
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\sublime]
@="Open Folder as Sublime Project"
"Icon"="\"C:\\Program Files\\Sublime Text 2\\sublime_text.exe\",0"
[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]
@iaian
iaian / sublimeText_2-user_prefrences.json
Last active December 15, 2015 13:08
My sublimetext 2 user preferences
{
"auto_complete_commit_on_tab": true,
"color_scheme": "Packages/iaian-theme/solarizedDark-IaianMod.tmTheme",
"detect_slow_plugins": false,
"font_size": 10,
"hot_exit": false,
"ignored_packages":
[
"Vintage",
"Emmet"
@iaian
iaian / ctrl + u : Internet Explorer View Source
Last active December 14, 2015 16:58
Autohotkey : if IE is active window map ctrl + u to IE alt+v+c
SetTitleMatchMode, Fast
^u:: ; Hit ctrl+u over IE to show page source
WinGetActiveTitle, MyTitle
If (RegexMatch(MyTitle, "i)(.*)Windows Internet Explorer")) ; If windows internet explorer is found at the end of the window title
{
;run macro for showing source code
Send {Alt}