zeal-at-point

https://github.com/jinzhu/zeal-at-point.git

git clone 'git://github.com/jinzhu/zeal-at-point.git'
40

Zeal At Point

Search the word at point with Zeal

Zeal is a simple offline API documentation browser inspired by Dash (OS X app), available for Linux and Windows.

Installation

The recommended way to install is via MELPA or Marmalade

Usage

Run zeal-at-point to search the word at point (or string in region), then Zeal is launched and search the word. Use prefix argument C-u to edit the search string first.

There is no default keymap defined, but you could setup your own binding like this:

(global-set-key "\C-cd" 'zeal-at-point)

Zeal queries can be narrowed down with a docset prefix. You can customize the relations between docsets and major modes.

(add-to-list 'zeal-at-point-mode-alist '(perl-mode . "perl"))

Additionally, the buffer-local variable zeal-at-point-docset can be set in a specific mode hook (or file/directory local variables) to programmatically override the guessed docset. For example:

(add-hook 'rinari-minor-mode-hook
   (lambda () (setq zeal-at-point-docset "rails")))

You are also possible to set docset for current buffer with zeal-at-point-set-docset

Thanks

Copyright

Copyright (C) 2013 Jinzhu