

GitHub - dash-docs-el/counsel-dash: Browse Dash docsets using Ivy
source link: https://github.com/dash-docs-el/counsel-dash
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

counsel-dash
Browse Dash docsets using Ivy.
Installation
MELPA
M-x package-install RET counsel-dash RET
Source
Make sure counsel-dash.el
is in your load-path
and then:
(require 'counsel-dash)
How it works
This is a simple wrapper around helm-dash, of which you should check out for implementation details.
Unfortunately helm-dash depends on helm, so this package also implicitly depends on helm - even though helm isn't really necessary. In the future, helm-dash may be decoupled into a separate library that provides dash capabilities only. At that point we will switch over to the new library - the API will remain unchanged.
Configuration
You'll find most of the available functions and configuration variables are
exactly the same as helm-dash with a
different prefix (s/helm-dash/counsel-dash/
.) This is because they are simply
aliases to the helm-dash equivalents.
Install docsets
M-x counsel-dash-install-docset
Setup default docsets
(setq counsel-dash-common-docsets '("Javascript" "HTML"))
Setup mode-specific docsets
(add-hook 'emacs-lisp-mode-hook (lambda () (setq-local counsel-dash-docsets '("Emacs Lisp")))) (add-hook 'ruby-mode-hook (lambda () (setq-local counsel-dash-docsets '("Ruby"))))
Other options
(setq counsel-dash-docsets-path "~/.docset") (setq counsel-dash-docsets-url "https://raw.github.com/Kapeli/feeds/master") (setq counsel-dash-min-length 3) (setq counsel-dash-candidate-format "%d %n (%t)") (setq counsel-dash-enable-debugging nil) (setq counsel-dash-browser-func 'browse-url) (setq counsel-dash-ignored-docsets nil)
Usage
M-x counsel-dash
License
See LICENSE
Recommend
-
257
Ivy, Counsel and Swiper Ivy, Counsel and Swiper 1 What is Ivy? Ivy is a completion framework, similar to Helm. When do...
-
73
Helm Dash What's it This package uses Dash docsets inside emacs to browse documentation. Here's an
-
95
Counsel-etags is a generic solution for code navigation in Emacs.It basically needs no setup. For example, run one command counsel-etags-find-tag-at-point is enough to start code navigation immedi
-
180
This package is no longer maintained. If you have an issue or pull request, please send it to https://github.com/FelipeLema/emacs-counsel-gtags counsel-gtags.e...
-
137
counsel-projectile - Ivy UI for Projectile
-
59
README.md
-
73
README.org counsel-jq
-
10
Description Ivy/Counsel integration for all-the-icons.el Installation Melpa Once you have setup
-
9
Dash Docs What's it This package provides an elisp interface to query and show documenation using Dash docsets. It doesn't require Dash app. Requirements s...
-
6
Filter Products Find a product .NET Azure ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK