AmaiKinono/puni

How to disable puni-mode when iedit-mode or multiple cursor is active

QiangF opened this issue · 1 comments

Suppose puni-global-mode is nil. One way is to disable puni-mode in iedit-mode-hook and enable in iedit-mode-end-hook. What if puni-mode is not active in before entering iedit?

What I could think of is to define a new variable puni-mode-enabled-before-iedit. Set it in iedit-mode-hook, and check it in iedit-mode-end-hook.