Cleanup
This commit is contained in:
parent
ebcd1aa0f4
commit
b2f63ade73
28
init.el
28
init.el
|
@ -12,9 +12,6 @@
|
|||
|
||||
(use-package gcmh
|
||||
:demand t
|
||||
;; :custom
|
||||
;; (gcmh-high-cons-threshold 40000000)
|
||||
;; (gcmh-high-cons-threshold most-positive-fixnum)
|
||||
:config
|
||||
(gcmh-mode))
|
||||
|
||||
|
@ -54,8 +51,6 @@
|
|||
(evil-want-C-h-delete t "Delete with C-h")
|
||||
(evil-want-C-w-in-emacs-state t "Allow C-w movement in Emacs windows")
|
||||
(evil-undo-system 'undo-tree "Undo with undo-tree")
|
||||
;; :custom-face
|
||||
;; (evil-ex-lazy-highlight ((t (:foreground nil :inherit highlight))))
|
||||
:config
|
||||
(evil-mode)
|
||||
(evil-select-search-module 'evil-search-module 'evil-search)
|
||||
|
@ -88,7 +83,6 @@
|
|||
"f'" #'bookmark-jump
|
||||
"gg" #'magit-status
|
||||
"mm" #'minimap-mode
|
||||
;; "ps" #'auto-package-update-now
|
||||
"ps" (lambda ()
|
||||
(interactive)
|
||||
(package-refresh-contents)
|
||||
|
@ -209,11 +203,7 @@
|
|||
(dtrt-indent-global-mode))
|
||||
|
||||
(use-package aggressive-indent
|
||||
:hook prog-mode
|
||||
;; :config
|
||||
;; (add-to-list 'aggressive-indent-dont-indent-if
|
||||
;; '(member evil-state '(insert replace)))
|
||||
)
|
||||
:hook prog-mode)
|
||||
|
||||
(use-package rainbow-delimiters
|
||||
:hook prog-mode)
|
||||
|
@ -265,8 +255,6 @@
|
|||
(use-package treemacs-evil
|
||||
:demand t
|
||||
:after treemacs)
|
||||
;; (use-package treemacs-icons-dired
|
||||
;; :hook (dired-mode . treemacs-icons-dired-enable-once))
|
||||
(use-package treemacs-all-the-icons
|
||||
:demand t
|
||||
:after treemacs
|
||||
|
@ -366,15 +354,6 @@
|
|||
:custom
|
||||
(elfeed-feeds '(("https://archlinux.org/feeds/news/" arch-linux))))
|
||||
|
||||
;; (use-package md4rd
|
||||
;; :custom
|
||||
;; (md4rd-subs-active '(emacs archlinux))
|
||||
;; :config
|
||||
;; (setq md4rd--oauth-access-token "373959726732-zbIE8PXPDdnYJrCLsSjAoVUm55Dg8g"
|
||||
;; md4rd--oauth-refresh-token "373959726732-5jDpXKE4MImrDWNl7gfSPD3YT6862w")
|
||||
;; (run-with-timer 0 3540 #'md4rd-refresh-login)
|
||||
;; (evil-set-initial-state 'md4rd-mode 'emacs))
|
||||
|
||||
(use-package xkcd
|
||||
:commands xkcd
|
||||
:config
|
||||
|
@ -442,7 +421,6 @@
|
|||
(pixel-scroll-precision-mode)
|
||||
(global-hl-line-mode)
|
||||
(add-to-list 'default-frame-alist '(font . "JetbrainsMono Nerd Font-10.5"))
|
||||
;; (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font-10.5"))
|
||||
|
||||
(setcar mouse-wheel-scroll-amount 3)
|
||||
|
||||
|
@ -467,10 +445,6 @@
|
|||
org-mode-hook))
|
||||
(add-hook hook #'relative-linenum))
|
||||
|
||||
;; (set-face-attribute 'italic nil
|
||||
;; :slant 'italic
|
||||
;; :underline nil)
|
||||
|
||||
(defun use-spaces-for-indent ()
|
||||
(setq indent-tabs-mode nil))
|
||||
|
||||
|
|
Loading…
Reference in a new issue