mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Enable helm-dash-docsets
for some languages
This commit is contained in:
parent
36d227ca34
commit
00a10873c8
17
init.org
17
init.org
@ -531,6 +531,22 @@
|
||||
(helm-adaptive-mode 1)
|
||||
#+END_SRC
|
||||
|
||||
*** Helm dash
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq helm-dash-browser-func 'eww)
|
||||
(add-hook 'emacs-lisp-mode-hook
|
||||
(lambda () (setq-local helm-dash-docsets '("Emacs Lisp"))))
|
||||
(add-hook 'erlang-mode-hook
|
||||
(lambda () (setq-local helm-dash-docsets '("Erlang"))))
|
||||
(add-hook 'java-mode-hook
|
||||
(lambda () (setq-local helm-dash-docsets '("Java"))))
|
||||
(add-hook 'haskell-mode-hook
|
||||
(lambda () (setq-local helm-dash-docsets '("Haskell"))))
|
||||
(add-hook 'clojure-mode-hook
|
||||
(lambda () (setq-local helm-dash-docsets '("Clojure"))))
|
||||
#+END_SRC
|
||||
|
||||
** Calendar
|
||||
|
||||
Define a function to display week numbers in =calender-mode=. The snippet
|
||||
@ -1310,6 +1326,7 @@
|
||||
(define-key custom-bindings-map (kbd "M-y") 'helm-show-kill-ring)
|
||||
(define-key custom-bindings-map (kbd "C-x b") 'helm-mini)
|
||||
(define-key custom-bindings-map (kbd "C-x C-f") 'helm-find-files)
|
||||
(define-key custom-bindings-map (kbd "C-c h d") 'helm-dash-at-point)
|
||||
(define-key custom-bindings-map (kbd "C-c h o") 'helm-occur)
|
||||
(define-key custom-bindings-map (kbd "C-c h g") 'helm-google-suggest)
|
||||
(define-key custom-bindings-map (kbd "M-i") 'helm-swoop)
|
||||
|
Loading…
Reference in New Issue
Block a user