zeal-at-point

Search the word at point with Zeal (Emacs)

  • 所有者: jinzhu/zeal-at-point
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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"))

;; Use multiple docsets
(add-to-list 'zeal-at-point-mode-alist '(python-mode . ("python" "django")))

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")))

;; Use multiple docsets
(add-hook 'python-mode-hook
   (lambda () (setq zeal-at-point-docset '("python" "django"))))

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

Thanks

Copyright (C) 2013 Jinzhu

主要指标

概览
名称与所有者jinzhu/zeal-at-point
主编程语言Emacs Lisp
编程语言Emacs Lisp (语言数: 1)
平台
许可证
所有者活动
创建于2013-11-29 14:10:17
推送于2018-01-31 23:54:26
最后一次提交2018-02-01 07:54:26
发布数0
用户参与
星数175
关注者数5
派生数20
提交数47
已启用问题?
问题数14
打开的问题数4
拉请求数19
打开的拉请求数0
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?