We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
g:loaded_miniyank
It'd be nice to have the above variable defined so when testing I could disable the plugin and not have to also manually comment lines such as:
map p <Plug>(miniyank-autoput)
I'd like to be able to do this basically: (in ~/.vim/after/plugin/miniyank.vim)
~/.vim/after/plugin/miniyank.vim
if exists('g:loaded_miniyank') map p <Plug>(miniyank-autoput) endif
The text was updated successfully, but these errors were encountered:
There is a generic way to do this for plugins with <Plug> mappings: Use the condition if mapcheck("<Plug>(miniyank-autoput)", "n") != ""
<Plug>
if mapcheck("<Plug>(miniyank-autoput)", "n") != ""
Sorry, something went wrong.
That works for me. Thanks
No branches or pull requests
It'd be nice to have the above variable defined so when testing I could disable the plugin and not have to also manually comment lines such as:
map p <Plug>(miniyank-autoput)
I'd like to be able to do this basically: (in
~/.vim/after/plugin/miniyank.vim
)The text was updated successfully, but these errors were encountered: