Merge pull request #562 from toctan/prelude-helm

Move helm related code into its own module
This commit is contained in:
Bozhidar Batsov 2014-06-01 12:42:12 +03:00
commit b21abe428e
2 changed files with 5 additions and 5 deletions

View file

@ -62,7 +62,6 @@
(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 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 S") 'prelude-find-shell-init-file)
;; make some use of the Super key
@ -112,9 +111,6 @@
["Eval and replace" prelude-eval-and-replace]
)
("Navigation"
["Helm" helm-prelude])
("Windows"
["Swap windows" prelude-swap-windows])

View file

@ -49,7 +49,11 @@
(error (helm-mini))))
(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)