mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-16 11:09:29 +00:00
[emacs] Swap out ido+smex for helm
This commit is contained in:
parent
211f67352f
commit
6cb8ceed53
1 changed files with 23 additions and 19 deletions
|
@ -19,16 +19,6 @@
|
||||||
:init (load-theme 'solarized-dark 't))
|
:init (load-theme 'solarized-dark 't))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Package Configuration
|
* Package Configuration
|
||||||
** Ido
|
|
||||||
#+name: packages
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package ido
|
|
||||||
:defer t
|
|
||||||
:idle (require 'ido)
|
|
||||||
:config (progn (setq ido-enable-flex-matching t)
|
|
||||||
(setq ido-everywhere t)
|
|
||||||
(ido-mode t)))
|
|
||||||
#+END_SRC
|
|
||||||
** Autocomplete
|
** Autocomplete
|
||||||
#+name: autocomplete
|
#+name: autocomplete
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
@ -40,13 +30,25 @@
|
||||||
(ac-config-default)
|
(ac-config-default)
|
||||||
(global-auto-complete-mode t)))
|
(global-auto-complete-mode t)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Smex
|
** Helm
|
||||||
#+name: packages
|
#+name: helm
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package smex
|
(use-package helm
|
||||||
:ensure t
|
:ensure t
|
||||||
:bind (("M-x" . smex)
|
:diminish helm-mode
|
||||||
("M-X" . smex-major-mode-commands)))
|
:bind (("M-x" . helm-M-x)
|
||||||
|
("M-y" . helm-show-kill-ring)
|
||||||
|
("C-x b" . helm-mini)
|
||||||
|
("C-x C-b" . helm-buffers-list)
|
||||||
|
("C-x C-f" . helm-find-files)
|
||||||
|
("C-x C-r" . helm-recentf))
|
||||||
|
:init (progn
|
||||||
|
(require 'helm-config)
|
||||||
|
(helm-mode 1)
|
||||||
|
(add-hook 'eshell-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
(define-key eshell-mode-map (kbd "TAB") 'helm-esh-pcomplete)
|
||||||
|
(define-key eshell-mode-map (kbd "C-c C-l") 'helm-eshell-history)))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Expand Region
|
** Expand Region
|
||||||
#+name: packages
|
#+name: packages
|
||||||
|
@ -212,10 +214,12 @@
|
||||||
** Projectile
|
** Projectile
|
||||||
#+name: packages
|
#+name: packages
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:defer t
|
||||||
:idle (projectile-global-mode))
|
:idle (projectile-global-mode)
|
||||||
|
:config (progn (require 'helm-projectile)
|
||||||
|
(helm-projectile-on)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Ack-and-a-half
|
** Ack-and-a-half
|
||||||
#+name: packages
|
#+name: packages
|
||||||
|
|
Loading…
Reference in a new issue