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