Example configuration - Fuco1/smartparens GitHub Wiki
This is the actual working configuration of the author. Before looking at it, have a look at the default configuration for things already set up for you!
https://github.com/Fuco1/.emacs.d/blob/master/files/smartparens.el