Skip to main content
2 of 2
deleted 12 characters in body
Stefan
  • 26.7k
  • 3
  • 52
  • 88

What worked for me:

(defun disable-smartparens ()
  (smartparens-mode -1))

(add-hook 'smartparens-enabled-hook 'disable-smartparens t)

It appears that the smartparens-enabled-hook is called when smartparens is enabled. So, essentially, whenever smartparens turns on, we immediately turn it off.

If you just want to rebind some of the keys within there, you can change the function to:

(defun rebind-keys ()
  (global-set-key example 'command))

And customize as appropriate from https://www.gnu.org/software/emacs/manual/html_node/emacs/Rebinding.html