Extract Helm support into a separate module
This commit is contained in:
parent
a509b0a174
commit
523a4851a6
6 changed files with 61 additions and 17 deletions
|
@ -405,7 +405,6 @@ Doesn't mess with special buffers."
|
|||
"Press <jj> quickly to jump to the beginning of a visible word."
|
||||
"Press <jk> quickly to jump to a visible character."
|
||||
"Press <jl> quickly to jump to a visible line."
|
||||
"Press <C-c h> to navigate a project in Helm."
|
||||
"Press <C-c g> to search in Google."
|
||||
"Press <C-c G> to search in GitHub."
|
||||
"Press <C-c y> to search in YouTube."
|
||||
|
|
|
@ -294,20 +294,6 @@ The body of the advice is in BODY."
|
|||
(diminish 'anzu-mode)
|
||||
(global-anzu-mode)
|
||||
|
||||
(require 'helm-misc)
|
||||
(require 'helm-projectile)
|
||||
|
||||
(defun helm-prelude ()
|
||||
"Preconfigured `helm'."
|
||||
(interactive)
|
||||
(condition-case nil
|
||||
(if (projectile-project-root)
|
||||
(helm-projectile)
|
||||
;; otherwise fallback to helm-mini
|
||||
(helm-mini))
|
||||
;; fall back to helm mini if an error occurs (usually in projectile-project-root)
|
||||
(error (helm-mini))))
|
||||
|
||||
;; shorter aliases for ack-and-a-half commands
|
||||
(defalias 'ack 'ack-and-a-half)
|
||||
(defalias 'ack-same 'ack-and-a-half-same)
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
'(ace-jump-mode ack-and-a-half anzu dash diminish elisp-slime-nav
|
||||
epl expand-region flx-ido flycheck gist
|
||||
gitconfig-mode gitignore-mode grizzl
|
||||
guru-mode helm helm-projectile ido-ubiquitous
|
||||
guru-mode projectile ido-ubiquitous
|
||||
key-chord magit move-text rainbow-mode
|
||||
smartparens smex undo-tree
|
||||
volatile-highlights zenburn-theme)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue