1 #+TITLE: Helm Configuration
2 #+AUTHOR: Don Armstrong
9 #+BEGIN_SRC emacs-lisp :tangle don-helm.el
10 (add-to-list 'load-path "~/lib/emacs_el/helm/")
11 (require 'helm-config)
16 #+BEGIN_SRC emacs-lisp :tangle don-helm.el
18 (define-key global-map [remap find-file] 'helm-find-files)
19 (define-key global-map [remap occur] 'helm-occur)
20 (define-key global-map [remap list-buffers] 'helm-buffers-list)
21 (define-key global-map [remap dabbrev-expand] 'helm-dabbrev)
22 (global-set-key (kbd "M-x") 'helm-M-x)
23 (unless (boundp 'completion-in-region-function)
24 (define-key lisp-interaction-mode-map [remap completion-at-point] 'helm-lisp-completion-at-point)
25 (define-key emacs-lisp-mode-map [remap completion-at-point] 'helm-lisp-completion-at-point))
26 (add-hook 'kill-emacs-hook #'(lambda () (and (file-exists-p "$TMP") (delete-file "$TMP"))))
32 #+BEGIN_SRC emacs-lisp :tangle don-helm.el