From 02b1402054144388c9e4d52f1b92593b9d3545bf Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 11 Mar 2014 00:24:59 +0000 Subject: [PATCH] Install and setup helm, helm-projectile, helm-ack, and helm-ag --- custom-variables.el | 1 + keybindings.el | 6 ++++++ packages.el | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/custom-variables.el b/custom-variables.el index 506bae7..9d6a89d 100644 --- a/custom-variables.el +++ b/custom-variables.el @@ -54,6 +54,7 @@ '(fringe-mode 0 nil (fringe)) '(global-auto-revert-mode t) '(global-undo-tree-mode t) + '(helm-ag-source-type (quote file-line)) '(history-length 500) '(ibuffer-formats (quote diff --git a/keybindings.el b/keybindings.el index ca46dfd..12cf6e1 100644 --- a/keybindings.el +++ b/keybindings.el @@ -35,6 +35,12 @@ (global-set-key (kbd "C-s") 'phi-search) (global-set-key (kbd "C-r") 'phi-search-backward)) +(when (require 'helm nil 'noerror) + (global-set-key (kbd "C-c h") 'helm-mini)) + +(when (require 'helm-projectile nil 'noerror) + (global-set-key (kbd "C-x ;") 'helm-projectile)) + ;; Expand region (when (require 'expand-region nil 'noerror) (global-set-key (kbd "M-.") 'er/expand-region) diff --git a/packages.el b/packages.el index 826596c..652ae19 100644 --- a/packages.el +++ b/packages.el @@ -52,6 +52,10 @@ gitconfig-mode grizzl haml-mode + helm + helm-ack + helm-ag + helm-projectile highlight-indentation ido-vertical-mode inf-ruby