From 6a8378b8ac0f1775dd59aaed84d9e1d538304053 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Wed, 20 Nov 2019 17:18:07 +0100 Subject: [PATCH] swap smex for helm, add projectile --- init.el | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/init.el b/init.el index e5bc2cf..50543ab 100644 --- a/init.el +++ b/init.el @@ -63,7 +63,6 @@ There are two things you can do about this warning: clj-refactor ;; ido-ubiquitous - smex which-key less-css-mode markdown-mode @@ -88,14 +87,19 @@ There are two things you can do about this warning: ;;(ido-ubiquitous-mode 1) (global-set-key (kbd "C-x C-b") 'ibuffer) -;; smex shit -(setq smex-save-file (concat user-emacs-directory ".smex-items")) -(smex-initialize) -(global-set-key (kbd "M-x") 'smex) - ;; cider shit (setq cider-repl-display-in-current-window t) +;; helm shit +(require 'helm-config) +(helm-mode 1) +(global-set-key (kbd "M-x") 'helm-M-x) + +;; projectile shit +(require 'projectile) +(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map) +(projectile-mode +1) + ;; misc global modes (global-auto-complete-mode) (global-linum-mode) @@ -129,7 +133,7 @@ There are two things you can do about this warning: '(initial-frame-alist (quote ((fullscreen . maximized)))) '(package-selected-packages (quote - (helm dumb-jump idle-highlight-mode neotree smex rainbow-delimiters clj-refactor which-key ac-cider company js3-mode less-css-mode sass-mode paredit markdown-mode yaml-mode editorconfig auto-complete parinfer git-commit cider clojure-mode projectile better-defaults)))) + (helm-projectile helm-cider helm dumb-jump idle-highlight-mode neotree rainbow-delimiters clj-refactor which-key ac-cider company js3-mode less-css-mode sass-mode paredit markdown-mode yaml-mode editorconfig auto-complete parinfer git-commit cider clojure-mode projectile better-defaults)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.