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

Add possibility to prevent :A default mapping #582

Closed
wants to merge 3 commits into from

Conversation

bartoszmaka
Copy link

@bartoszmaka bartoszmaka commented Feb 23, 2022

Hi. I'm posting a way of preventing the plugin from remapping A AE AS AV AT AD AR R RE RS RV RT RD commands.

I've beed using this workaround to keep vim-projectionist commands from being overridden.
It introduces new variable g:vim_rails_map_buf_nav_commands and defaults its value to 1, so it does not change behaviour of the plugin unless user sets g:vim_rails_map_buf_nav_commands = 0 explicitly in his config

Consider merging this PR if you find it useful 😄

@tpope tpope closed this in d38f1bf Apr 16, 2022
@tpope
Copy link
Owner

tpope commented Apr 16, 2022

I'd really rather unify the 2 plugins, but that's not realistically gonna happen any time soon, so I'll compromise and provide an undocumented option.

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