Delight minor modes
This commit is contained in:
parent
33c2cb0d2a
commit
fd17b02d35
1 changed files with 32 additions and 14 deletions
|
@ -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,25 +240,27 @@
|
||||||
(use-package projectile
|
(use-package projectile
|
||||||
:ensure t
|
:ensure t
|
||||||
:demand t
|
:demand t
|
||||||
:config (progn
|
:delight '(:eval (concat " Project[" (projectile-project-name) "]"))
|
||||||
(projectile-global-mode t)
|
:config
|
||||||
(setq projectile-completion-system 'ivy)))
|
(projectile-global-mode t)
|
||||||
|
(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
|
||||||
(require 'auto-complete-config)
|
:config
|
||||||
(setq ac-sources '(ac-source-filename
|
(require 'auto-complete-config)
|
||||||
ac-source-functions
|
(setq ac-sources '(ac-source-filename
|
||||||
ac-source-yasnippet
|
ac-source-functions
|
||||||
ac-source-variables
|
ac-source-yasnippet
|
||||||
ac-source-symbols
|
ac-source-variables
|
||||||
ac-source-features
|
ac-source-symbols
|
||||||
ac-source-words-in-all-buffer
|
ac-source-features
|
||||||
ac-source-dictionary))
|
ac-source-words-in-all-buffer
|
||||||
(global-auto-complete-mode)))
|
ac-source-dictionary))
|
||||||
|
(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)))
|
||||||
|
|
Loading…
Reference in a new issue