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