vim-dasht icon indicating copy to clipboard operation
vim-dasht copied to clipboard

specify docset to search

Open laoshaw opened this issue 4 years ago • 1 comments

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?

laoshaw avatar May 20 '20 17:05 laoshaw

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$']) 

sunaku avatar May 21 '20 04:05 sunaku