Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-pairs prevents abbreviations from being triggered #123

Open
romandecker opened this issue Nov 30, 2015 · 5 comments
Open

auto-pairs prevents abbreviations from being triggered #123

romandecker opened this issue Nov 30, 2015 · 5 comments

Comments

@romandecker
Copy link

Normally, pressing ( in insert mode also triggers vim's abbreviations. When auto-pairs is active, this is no longer the case.

Is there a way to make abbreviations work with auto-pairs?

@mz026
Copy link

mz026 commented Feb 17, 2016

+1

@johnzeng
Copy link

It's because auto-pairs map the space, (, and tons of abbreviation trigger to its own command, and that will stop triggering abbreviations, so ,either you disable auto-pairs or you give up your abbreviations (Yes, I am facing the same problem and I found out the root cause is auto-pair map setting 🙃) I think it will be better if we can chose to disable some mapping in auto-pairs....

@optroot
Copy link

optroot commented Sep 14, 2016

Looks like we should do a quick <C-]> (:h i_CTRL-]) first in the mapping. I've added this to my pull request #150

You can add it yourself to this line
It should look something like this

You can use it immediately here optroot/auto-pairs

@johnzeng
Copy link

I see it was opened 20 days ago... Will it be merged into master? Actually I don't wanna add too much complicate feature into my vim, I am thinking about to disable this plugin...

@optroot
Copy link

optroot commented Sep 14, 2016

I've not heard from anyone with the required permission. It's just an independent fork for now I guess. It can be used a replacement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants