~edwargix/emacs.d

fd095c43b8c0173c8c56e0815546c5b71063cc73 — David Florness 9 years ago 28f128b + 1d03131
Merge branch 'helm'
1 files changed, 22 insertions(+), 0 deletions(-)

M init.el
M init.el => init.el +22 -0
@@ 156,6 156,28 @@
(global-set-key (kbd "C-x g") 'magit-status)
(global-set-key (kbd "C-x M-g") 'magit-dispatch-popup)

;;; Install helm
(package-install 'helm)

;;; This config code for helm was obtained from https://tuhdo.github.io/helm-intro.html
(require 'helm)
(require 'helm-config)

;;; "'C-x c' is quite close to 'C-x C-c'" Agreed!
(global-set-key (kbd "C-c h") 'helm-command-prefix)
(global-unset-key (kbd "C-x c"))

(define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action) ; rebind tab to run persisten action
(define-key helm-map (kbd "C-i") 'helm-execute-persistent-action) ; make TAB work in terminal
(define-key helm-map (kbd "C-z") 'helm-select-action) ; list actions using C-z

(when (executable-find "curl")
  (setq helm-net-prefer-curl t))

;; (setq helm-split-window)

(helm-mode 1)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.