Giter Site home page Giter Site logo

counsel-dash's Introduction

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)

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

counsel-dash's People

Contributors

bad-ptr avatar gilbertw1 avatar nathankot avatar syohex avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.