Skip to content

Commit

Permalink
add diminis
Browse files Browse the repository at this point in the history
  • Loading branch information
Wang Chunye committed Mar 22, 2020
1 parent 0169775 commit e40f6b5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
split-width-threshold 160
;; keyboard scroll one line at a time
scroll-step 1)
(menu-bar-mode -1)
;; scroll one line at a time (less "jumpy" than defaults)
(use-package mwheel
:straight (mwheel :type built-in)
Expand All @@ -66,13 +67,13 @@
(setq mouse-wheel-follow-mouse 't) ;; scroll window under mouse
(mouse-wheel-mode 1)
)


;; == savehist
(use-package savehist
:straight (savehist :type built-in)
:defer 2
:config
(savehist-mode 1))
(menu-bar-mode -1)

;; == exec-path-from-shell
(use-package exec-path-from-shell
Expand All @@ -92,6 +93,10 @@
(file-directory-p putty-directory))
(setenv "PATH" (concat putty-directory ";" (getenv "PATH")))
(add-to-list 'exec-path putty-directory)))

;; == diminish
(use-package diminish)


;; == ivy mode
(use-package ivy
Expand Down Expand Up @@ -198,6 +203,7 @@
(defvar company-backends)
(use-package company
:after (prog-mode)
:diminish (company-mode . "C")
:defines (
company-active-map
company-idle-delay
Expand Down Expand Up @@ -268,7 +274,7 @@

;; (use-package yasnippet-classic-snippets
;; ;; it takes ~300ms to load snippets
;; :disabled t )
;; )
;; (use-package yasnippet-snippets
;; ;; it takes even longger
;; :straight (yasnippet-snippets
Expand Down Expand Up @@ -436,6 +442,7 @@

;; --- gcmh
(use-package gcmh
:diminish gcmh-mode
:config
(gcmh-mode 1))
;; END
Expand Down

0 comments on commit e40f6b5

Please sign in to comment.