Disable smartparens-global-mode and add other hook