Skip to content

dash-docs-el/counsel-dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

counsel-dash

Melpa Status

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)

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