The default plugins included with Sublime Text are a great source of information on how to use the Sublime Text 3 api. Unfortunately, the default plugins can’t be found in the usual Packages directory. On OSX, they are neatly tucked away in the application installation file located at:

/Applications/Sublime Text 3.app/Contents/MacOS/Packages

The default plugins (and configuration) are stored within a file called: Default.sublime-package, which is simply a zip file.

To view the files you can extract the Default.sublime-package to a temporary directory with unzip: