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

Prevent user defined mappings from interfering with vim-indent #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ethomas2
Copy link

No description provided.

@ethomas2
Copy link
Author

I have o remapped to something. Line 228 was executing my mapping for o every time I tried to use an indent object.

@ethomas2
Copy link
Author

What's strange about this is that I've been using vim-indent and my o mapping for years. I never had a problem until i got a new computer recently.

My vim config is checked into github, so I'm sure nothing changed. In my config between my old computer and my new one.

@davidxmoody
Copy link

I just encountered the same problem after mapping "o" to something. Manually applying your fix worked for me. It would be nice if this could be merged.

@ethomas2
Copy link
Author

@davidxmoody I think the author of this plugin has stopped maintaining it.
Since this is a very important plugin for me, I have forked this project and pointed my .vimrc to my personal fork
https://github.com/ethomas2/dotfiles/blob/tempo/.vim/.vimrc#L59

That way I don't have to worry about my changes accidentally being blown away if I do some aggressive git-fu, or change computers or something. You might consider doing the same.

I would love to get this pr merged though. Paging @michaeljsmith!

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

Successfully merging this pull request may close these issues.

2 participants