Move helm-projectile configuration to use-package

This commit is contained in:
Gergely Polonkai 2016-10-10 20:42:39 +02:00
parent 409f4c5c82
commit 6e2523578e

10
init.el
View File

@ -335,6 +335,12 @@
:config :config
(projectile-global-mode t)) (projectile-global-mode t))
(use-package helm-projectile
:init
(setq projectile-completion-system 'helm)
:config
(helm-projectile-on))
;; Load my own functions ;; Load my own functions
(load "gnu-c-header.el") (load "gnu-c-header.el")
(load "toggle-window-split.el") (load "toggle-window-split.el")
@ -429,10 +435,6 @@
(global-prettify-symbols-mode t) (global-prettify-symbols-mode t)
(drag-stuff-global-mode t) (drag-stuff-global-mode t)
;; Projectile settings
(setq projectile-completion-system 'helm)
(helm-projectile-on)
;; Dont allow tabs to be inserted during indentation ;; Dont allow tabs to be inserted during indentation
(setq-default indent-tabs-mode nil) (setq-default indent-tabs-mode nil)