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

unmap vimpager-provided mappings in .vimpagerrc? #235

Open
fictionic opened this issue Jun 27, 2018 · 6 comments
Open

unmap vimpager-provided mappings in .vimpagerrc? #235

fictionic opened this issue Jun 27, 2018 · 6 comments
Assignees

Comments

@fictionic
Copy link

On the Arch Linux package, this works fine. However, if I install from git, it seems that my .vimpagerrc is sourced before vimpager sets up its mappings, so I can't unmap them until after vim loads. This is quite frustrating, as I want to keep all of the less.vim functionality, but unmap / and a few other things.

@rkitover rkitover self-assigned this Jun 27, 2018
@rkitover
Copy link
Owner

The mappings are set when you enter the file in my version of less.vim.

I will need to add a hook that would be called after the mappings are enabled.

@fictionic
Copy link
Author

Do you know why this doesn't happen in the Arch Linux package?

@rkitover
Copy link
Owner

Probably because it's very old, I haven't done a formal release in a really long time.

@fictionic
Copy link
Author

Oh I didn't know that. Well, please don't update the package until this enhancement is made! It makes the plug-in harder to use for me.

@rkitover
Copy link
Owner

I have nothing to do with distro packages, I really need to do a release soon, which is when distro packagers normally pick up an update, and I will make sure this capability is in it.

@fictionic
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants