emacs - disable evil mode, add helm mode
[dotfiles.git] / emacs.d / config / init-helm.el
1
2 (require 'helm)
3 (require 'helm-config)
4 (require 'helm-adaptive)
5 (helm-mode 1)
6
7 (global-set-key (kbd "M-x") 'helm-M-x)
8 ;; http://tuhdo.github.io/helm-intro.html
9 (global-set-key (kbd "C-x b") 'helm-mini)
10 (setq helm-buffers-fuzzy-matching t
11       helm-recentf-fuzzy-match    t)
12
13 ;; http://stackoverflow.com/questions/9992475/how-to-show-anything-buffers-always-in-new-window
14 (setq helm-display-function
15       (lambda (buf)
16         (split-window-vertically)
17         (other-window 1)
18         (switch-to-buffer buf)))
19
20
21 (helm-autoresize-mode 1)
22 (helm-adaptive-mode 1)
23 (helm-adaptative-mode 1)
24 (setq helm-adaptive-history 1)
25
26 (provide 'init-helm)