[mini.pair] How to restrict triggering pairs to only when pressing enter #952
-
Similar to https://github.com/rstacruz/vim-closer |
Beta Was this translation helpful? Give feedback.
Answered by
echasnovski
Jun 9, 2024
Replies: 1 comment
-
Unfortunately, there is no way of doing that with 'mini.pairs' and it is not planned. The whole pair is inserted immediately after pressing its opening character. Pressing enter creates an extra indented line if it is pressed exactly inside a pair. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
echasnovski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, there is no way of doing that with 'mini.pairs' and it is not planned. The whole pair is inserted immediately after pressing its opening character. Pressing enter creates an extra indented line if it is pressed exactly inside a pair.