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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?