Merge pull request #562 from toctan/prelude-helm
Move helm related code into its own module
This commit is contained in:
commit
b21abe428e
2 changed files with 5 additions and 5 deletions
|
@ -62,7 +62,6 @@
|
||||||
(define-key map (kbd "C-c t") 'prelude-visit-term-buffer)
|
(define-key map (kbd "C-c t") 'prelude-visit-term-buffer)
|
||||||
(define-key map (kbd "C-c k") 'prelude-kill-other-buffers)
|
(define-key map (kbd "C-c k") 'prelude-kill-other-buffers)
|
||||||
(define-key map (kbd "C-c TAB") 'prelude-indent-rigidly-and-copy-to-clipboard)
|
(define-key map (kbd "C-c TAB") 'prelude-indent-rigidly-and-copy-to-clipboard)
|
||||||
(define-key map (kbd "C-c h") 'helm-prelude)
|
|
||||||
(define-key map (kbd "C-c I") 'prelude-find-user-init-file)
|
(define-key map (kbd "C-c I") 'prelude-find-user-init-file)
|
||||||
(define-key map (kbd "C-c S") 'prelude-find-shell-init-file)
|
(define-key map (kbd "C-c S") 'prelude-find-shell-init-file)
|
||||||
;; make some use of the Super key
|
;; make some use of the Super key
|
||||||
|
@ -112,9 +111,6 @@
|
||||||
["Eval and replace" prelude-eval-and-replace]
|
["Eval and replace" prelude-eval-and-replace]
|
||||||
)
|
)
|
||||||
|
|
||||||
("Navigation"
|
|
||||||
["Helm" helm-prelude])
|
|
||||||
|
|
||||||
("Windows"
|
("Windows"
|
||||||
["Swap windows" prelude-swap-windows])
|
["Swap windows" prelude-swap-windows])
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,11 @@
|
||||||
(error (helm-mini))))
|
(error (helm-mini))))
|
||||||
|
|
||||||
(eval-after-load 'prelude-mode
|
(eval-after-load 'prelude-mode
|
||||||
'(define-key prelude-mode-map (kbd "C-c h") 'helm-prelude))
|
'(progn
|
||||||
|
(define-key prelude-mode-map (kbd "C-c h") 'helm-prelude)
|
||||||
|
(easy-menu-add-item nil '("Tools" "Prelude")
|
||||||
|
'("Navigation"
|
||||||
|
["Helm" helm-prelude]))))
|
||||||
|
|
||||||
(push "Press <C-c h> to navigate a project in Helm." prelude-tips)
|
(push "Press <C-c h> to navigate a project in Helm." prelude-tips)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue