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

specify docset to search #15

Open
laoshaw opened this issue May 20, 2020 · 1 comment
Open

specify docset to search #15

laoshaw opened this issue May 20, 2020 · 1 comment
Labels

Comments

@laoshaw
Copy link

laoshaw commented May 20, 2020

I use markdown with many code snippets in the code block, can I do something like what dasht command line or zeal can do under vim:

Dasht atoi C for atoi in C, or Dasht delete Javascript for delete in JS while I'm editing a markdown file?

@sunaku
Copy link
Owner

sunaku commented May 21, 2020

The simplest way is to use the :Dasht! command (with a bang !) to search all of your installed docsets. Or if you only want to search specific docsets, you can call the dasht#search() function:

call dasht#search('atoi', '^c$')
call dasht#search('delete', 'javascript')
call dasht#search('integer', ['javascript', '^c$']) 

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

No branches or pull requests

2 participants