{"id":17383807,"url":"https://github.com/sunaku/vim-dasht","last_synced_at":"2025-04-14T07:40:30.939Z","repository":{"id":66274273,"uuid":"59087597","full_name":"sunaku/vim-dasht","owner":"sunaku","description":":information_desk_person: (Neo)Vim plugin for dasht integration","archived":false,"fork":false,"pushed_at":"2023-01-31T06:41:23.000Z","size":26,"stargazers_count":134,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T21:15:02.377Z","etag":null,"topics":["dash-docset","vim-plugins"],"latest_commit_sha":null,"homepage":"https://github.com/sunaku/dasht","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunaku.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-18T06:21:12.000Z","updated_at":"2025-03-07T21:46:45.000Z","dependencies_parsed_at":"2023-05-01T18:34:59.107Z","dependency_job_id":null,"html_url":"https://github.com/sunaku/vim-dasht","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunaku%2Fvim-dasht","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunaku%2Fvim-dasht/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunaku%2Fvim-dasht/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunaku%2Fvim-dasht/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunaku","download_url":"https://codeload.github.com/sunaku/vim-dasht/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248841569,"owners_count":21170210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dash-docset","vim-plugins"],"created_at":"2024-10-16T07:43:51.136Z","updated_at":"2025-04-14T07:40:30.886Z","avatar_url":"https://github.com/sunaku.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dasht.vim\n\nA (Neo)Vim plugin for [dasht]( https://github.com/sunaku/dasht ) integration:\n\n* Search docsets for something you type:\n\n    ```vim\n    \" search related docsets\n    nnoremap \u003cLeader\u003ek :Dasht\u003cSpace\u003e\n\n    \" search ALL the docsets\n    nnoremap \u003cLeader\u003e\u003cLeader\u003ek :Dasht!\u003cSpace\u003e\n    ```\n\n* Search docsets for words under cursor:\n\n    ```vim\n    \" search related docsets\n    nnoremap \u003csilent\u003e \u003cLeader\u003eK :call Dasht(dasht#cursor_search_terms())\u003cReturn\u003e\n\n    \" search ALL the docsets\n    nnoremap \u003csilent\u003e \u003cLeader\u003e\u003cLeader\u003eK :call Dasht(dasht#cursor_search_terms(), '!')\u003cReturn\u003e\n    ```\n\n* Search docsets for your selected text:\n\n    ```vim\n    \" search related docsets\n    vnoremap \u003csilent\u003e \u003cLeader\u003eK y:\u003cC-U\u003ecall Dasht(getreg(0))\u003cReturn\u003e\n\n    \" search ALL the docsets\n    vnoremap \u003csilent\u003e \u003cLeader\u003e\u003cLeader\u003eK y:\u003cC-U\u003ecall Dasht(getreg(0), '!')\u003cReturn\u003e\n    ```\n\n* Specify related docsets for searching:\n\n    ```vim\n    let g:dasht_filetype_docsets = {} \" filetype =\u003e list of docset name regexp\n\n    \" For example: {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{\n\n      \" When in Elixir, also search Erlang:\n      let g:dasht_filetype_docsets['elixir'] = ['elixir', 'erlang']\n\n      \" When in C++, also search C, Boost, and OpenGL:\n      let g:dasht_filetype_docsets['cpp'] = ['cpp', '^c$', 'boost', 'OpenGL']\n\n      \" When in Python, also search NumPy, SciPy, and Pandas:\n      let g:dasht_filetype_docsets['python'] = ['python', '(num|sci)py', 'pandas']\n\n      \" When in HTML, also search CSS, JavaScript, Bootstrap, and jQuery:\n      let g:dasht_filetype_docsets['html'] = ['html', 'css', 'js', 'bootstrap']\n\n      \" When in Java, search Java SE11, but not JavaScript:\n      let g:dasht_filetype_docsets['java'] = ['java_se11']\n\n    \" and so on... }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}\n    ```\n\n* Configure where results are displayed:\n\n    ```vim\n    \" create window below current one (default)\n    let g:dasht_results_window = 'new'\n\n    \" create window beside current one\n    let g:dasht_results_window = 'vnew'\n\n    \" use current window to show results\n    let g:dasht_results_window = 'enew'\n\n    \" create panel at left-most edge\n    let g:dasht_results_window = 'topleft vnew'\n\n    \" create panel at right-most edge\n    let g:dasht_results_window = 'botright vnew'\n\n    \" create new tab beside current one\n    let g:dasht_results_window = 'tabnew'\n    ```\n\n## Testing\n\nDevelopers can run the [vim-vspec]( https://github.com/kana/vim-vspec ) tests:\n\n```sh\ngem install bundler         # first time\nbundle install              # first time\nbundle exec vim-flavor test # every time\n```\n\n## License\n\n[Spare A Life]: https://sunaku.github.io/vegan-for-life.html\n\u003e Like my work? 👍 Please [spare a life] today as thanks! 🐄🐖🐑🐔🐣🐟✨🙊✌  \n\u003e Why? For 💕 ethics, the 🌎 environment, and 💪 health; see link above. 🙇\n\nCopyright 2016 Suraj N. Kurapati \u003chttps://github.com/sunaku\u003e\n\nDistributed under the same terms as Vim itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunaku%2Fvim-dasht","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunaku%2Fvim-dasht","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunaku%2Fvim-dasht/lists"}