smartparens icon indicating copy to clipboard operation
smartparens copied to clipboard

Is it possible not to activate pair overlay

Open wang1zhen opened this issue 2 years ago • 1 comments

Hi, I am a evil user and I really love your package. I wonder if it is possible not to activate the pair overlay whenever I insert a pair? As I use C-g to switch back to evil normal state, when smartparens is activated, it is bind to sp-remove-active-pair-overlay, and as a result, when I insert something like (a (b (c (d)))), it would take several times of C-g to get to evil normal state.

Even if I manually unbind C-g in smartparens-mode-map with (general-unbind smartparens-mode-map "C-g"), pressing C-g still executes sp-remove-active-pair-overlay. describe-function sp-remove-active-pair-overlay gives the following information, so I have no idea how to modify it

Key Bindings
This command is not in any keymaps.

wang1zhen avatar Jul 28 '22 06:07 wang1zhen

Try to unbind it from sp-pair-overlay-keymap.

Fuco1 avatar Aug 05 '22 20:08 Fuco1

Closing this to sort through the open issues. If the above did not work, feel free to reopen.

Fuco1 avatar Jan 18 '23 12:01 Fuco1