Skip to content

Instantly share code, notes, and snippets.

View songzhou21's full-sized avatar
🎯
Focusing

Song Zhou songzhou21

🎯
Focusing
View GitHub Profile
@songzhou21
songzhou21 / gist:f08ae73f917d2d81f835
Last active August 24, 2024 19:01 — forked from gereon/gist:3150445
Spotlight search source files

Mac OSX Spotlight Enhancement

Add this to Info.plist in /System/Library/Spotlight/RichText.mdimporter/Contents/ and Spotlight will search for source code files.

<string>public.c-header</string>
<string>public.c-plus-plus-header</string>
<string>public.c-source</string>
<string>public.objective-c-source</string>
public.c-plus-plus-source
@songzhou21
songzhou21 / svimrc
Last active August 29, 2015 14:17
svimrc
" black lists
"let blacklists = ["*://www.tutorialspoint.com/*","*://www.github.com/*", "*://www.baidu.com/*"]
let blacklists = ["*://app.datadoghq.com/*", "*://checkvist.com/*", "*://mail.google.com/*"]