Created
April 6, 2013 20:10
-
-
Save Fuco1/5327452 to your computer and use it in GitHub Desktop.
key-customize
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defcustom sp-base-key-bindings nil | |
"A default set of key bindings for commands provided by smartparens. | |
Paredit binding adds the paredit bindings to the corresponding | |
smartparens commands. It does not add bindings to any other | |
commands, or commands that do not have a paredit counterpart. | |
Smartparens binding adds bindings to most common smartparens | |
commands. These are somewhat inspired by paredit, but in many | |
cases differ. | |
Note that neither \"paredit\" nor \"smartparens\" bindings add a | |
binding for all the provided commands." | |
:type '(radio | |
(const :tag "Don't use any default set of bindings" nil) | |
(const :tag "Use smartparens set of bindings" 'sp) | |
(const :tag "Use paredit set of bindings" 'paredit)) | |
:group 'smartparens) | |
(defcustom sp-override-key-bindings nil | |
"An alist of commands and bindings that should override the base key set. | |
If you wish to override a binding from the base set, set the | |
value for the binding to the `kbd' recognizable string constant. | |
If you wish to disable a binding from the base set, set the value | |
for the binding to an empty string. | |
See `sp-base-key-bindings'." | |
:type '(alist | |
:key-type symbol | |
:value-type string) | |
:group 'smartparens) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment