Delight minor modes

This commit is contained in:
Valentin Gehrke 2017-10-11 12:54:14 +02:00
parent 33c2cb0d2a
commit fd17b02d35

View file

@ -134,6 +134,10 @@
; :demand t ; :demand t
; :config '(my/shackle-rules)) ; :config '(my/shackle-rules))
(use-package delight
:ensure t
:demand t)
(use-package let-alist (use-package let-alist
:ensure t :ensure t
:demand t) :demand t)
@ -236,15 +240,17 @@
(use-package projectile (use-package projectile
:ensure t :ensure t
:demand t :demand t
:config (progn :delight '(:eval (concat " Project[" (projectile-project-name) "]"))
:config
(projectile-global-mode t) (projectile-global-mode t)
(setq projectile-completion-system 'ivy))) (setq projectile-completion-system 'ivy))
;; Auto-Complete ;; Auto-Complete
(use-package auto-complete (use-package auto-complete
:ensure t :ensure t
:demand t :demand t
:config (progn :delight
:config
(require 'auto-complete-config) (require 'auto-complete-config)
(setq ac-sources '(ac-source-filename (setq ac-sources '(ac-source-filename
ac-source-functions ac-source-functions
@ -254,7 +260,7 @@
ac-source-features ac-source-features
ac-source-words-in-all-buffer ac-source-words-in-all-buffer
ac-source-dictionary)) ac-source-dictionary))
(global-auto-complete-mode))) (global-auto-complete-mode))
;; folding ;; folding
(use-package origami (use-package origami
@ -273,6 +279,7 @@
(use-package ivy (use-package ivy
:ensure t :ensure t
:demand t :demand t
:delight
:config :config
(ivy-mode 1) (ivy-mode 1)
(setq ivy-use-virtual-buffers t) (setq ivy-use-virtual-buffers t)
@ -326,6 +333,7 @@
(use-package yasnippet (use-package yasnippet
:ensure t :ensure t
:demand t :demand t
:delight yas-minor-mode
:config (yas-global-mode 1)) :config (yas-global-mode 1))
;; avy - Disabled because it makes emacs laggy :( ;; avy - Disabled because it makes emacs laggy :(
@ -346,6 +354,10 @@
:config :config
(evil-set-initial-state 'git-commit-mode 'insert)) (evil-set-initial-state 'git-commit-mode 'insert))
;; Undo-Tree
(use-package undo-tree
:delight)
;; Easy terminal ;; Easy terminal
(setq my/default-shell (or (executable-find "zsh") (executable-find "bash"))) (setq my/default-shell (or (executable-find "zsh") (executable-find "bash")))
@ -520,3 +532,9 @@
; (setq p2 (point))) ; (setq p2 (point)))
; (setq hexStr (buffer-substring-no-properties p1 p2)) ; (setq hexStr (buffer-substring-no-properties p1 p2))
; (message "The hex number is: '%s' '%d' '%d'" hexStr p1 p2))) ; (message "The hex number is: '%s' '%d' '%d'" hexStr p1 p2)))
;; Load local emacs settings
(let ((local-config (concat user-emacs-directory "init.local")))
(when (file-exists-p (concat local-config ".el"))
(load local-config)))