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

Call marvim commands as command line command #17

Open
himat opened this issue Mar 25, 2022 · 0 comments
Open

Call marvim commands as command line command #17

himat opened this issue Mar 25, 2022 · 0 comments

Comments

@himat
Copy link

himat commented Mar 25, 2022

I see in the docs that I can map a key to call the find and store actions, but I actually don't want a hotkey to trigger this plugin, and instead I want use a commandline command, i.e. something like :Macrofind from Normal mode which would call the marvim find action.

What's the best way to do this in my .vimrc?

It looks like you actually call two commands internally

if g:marvim_use_find_key && !empty(g:marvim_find_key)

so would I also need to call both commands if I made a custom mapping? Is there an easier way to define a custom mapping where I can just call one internal marvim command?

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

1 participant