remove unused options, organize a bit
Corrected broken paths, tried to organize things a bit, and removed some things that weren't really doing anything or were redundant because doom-emacs does/provides same thing already.
This commit is contained in:
parent
6d8286c81a
commit
7253ce130f
|
@ -4,20 +4,26 @@
|
||||||
user-mail-address "zyeryi@gmail.com"
|
user-mail-address "zyeryi@gmail.com"
|
||||||
epa-file-encrypt-to user-mail-address)
|
epa-file-encrypt-to user-mail-address)
|
||||||
|
|
||||||
;; disable automatic completion
|
;; auto refresh ibuffer
|
||||||
(setq company-idle-delay nil)
|
(add-hook! 'ibuffer-mode-hook #'ibuffer-auto-mode)
|
||||||
|
|
||||||
;; disable lsp-ui-sideline stuff
|
|
||||||
(setq lsp-ui-sideline-enable nil
|
|
||||||
lsp-enable-indentation nil
|
|
||||||
lsp-enable-on-type-formatting nil
|
|
||||||
lsp-enable-symbol-highlighting nil
|
|
||||||
lsp-enable-file-watchers nil)
|
|
||||||
|
|
||||||
;; disable mouse-overs for mode-line segments
|
;; disable mouse-overs for mode-line segments
|
||||||
(setq mode-line-default-help-echo nil
|
(setq mode-line-default-help-echo nil
|
||||||
show-help-function nil)
|
show-help-function nil)
|
||||||
|
|
||||||
|
;; UI
|
||||||
|
(setq doom-theme 'doom-one)
|
||||||
|
|
||||||
|
;; hide line numbers
|
||||||
|
(setq display-line-numbers-type nil)
|
||||||
|
|
||||||
|
;; don't yell at us if the fonts aren't installed yet
|
||||||
|
(setq doom-font (font-spec :family "Iosevka" :size 14)
|
||||||
|
doom-variable-pitch-font (font-spec :family "Noto Sans" :size 13))
|
||||||
|
|
||||||
|
;;; Frames/Windows
|
||||||
|
(add-to-list 'default-frame-alist '(inhibit-double-buffering . t))
|
||||||
|
|
||||||
;; disable confirmation on quit
|
;; disable confirmation on quit
|
||||||
(setq confirm-kill-emacs nil)
|
(setq confirm-kill-emacs nil)
|
||||||
|
|
||||||
|
@ -25,34 +31,20 @@
|
||||||
(setq projectile-project-search-path '("~/projects" "~/src/repos"))
|
(setq projectile-project-search-path '("~/projects" "~/src/repos"))
|
||||||
|
|
||||||
;; location where Emacs can find its own source code
|
;; location where Emacs can find its own source code
|
||||||
(setq source-directory "~/src/repos/emacs/")
|
(when (file-directory-p "~/src/repos/emacs")
|
||||||
|
(setq source-directory "~/src/repos/emacs"))
|
||||||
|
|
||||||
;; prevent message about iedit during startup (annoying)
|
;; prevent message about iedit during startup (annoying)
|
||||||
(setq iedit-toggle-key-default nil)
|
(setq iedit-toggle-key-default nil)
|
||||||
|
|
||||||
;;
|
|
||||||
;;; UI
|
|
||||||
(setq doom-theme 'doom-one)
|
|
||||||
|
|
||||||
;; line numbers are distracting if we don't need them
|
|
||||||
(setq display-line-numbers-type nil)
|
|
||||||
|
|
||||||
;; don't yell at us if the fonts aren't installed yet
|
|
||||||
(ignore-errors
|
|
||||||
(setq doom-font (font-spec :family "Iosevka" :size 14)
|
|
||||||
doom-variable-pitch-font (font-spec :family "Noto Sans" :size 13)))
|
|
||||||
|
|
||||||
;;; Frames/Windows
|
|
||||||
(add-to-list 'default-frame-alist '(inhibit-double-buffering . t))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;; :completion ivy
|
;;; :completion ivy
|
||||||
(setq +ivy-buffer-preview t)
|
(setq +ivy-buffer-preview t)
|
||||||
|
|
||||||
;;; :editor evil
|
;;; :editor evil
|
||||||
|
(after! evil
|
||||||
|
;; don't use 'jk' to escape insert mode
|
||||||
|
(setq evil-escape-key-sequence nil))
|
||||||
|
|
||||||
(setq evil-split-window-below t
|
(setq evil-split-window-below t
|
||||||
evil-vsplit-window-right t)
|
evil-vsplit-window-right t)
|
||||||
|
|
||||||
|
@ -71,15 +63,14 @@
|
||||||
(setq +vc-gutter-in-remote-files nil)
|
(setq +vc-gutter-in-remote-files nil)
|
||||||
|
|
||||||
;;; :lang latex
|
;;; :lang latex
|
||||||
(setq bibtex-completion-library-path (list "~/org/refs/pdfs"))
|
(setq bibtex-completion-library-path (list "~/org/bibliography/pdfs"))
|
||||||
|
|
||||||
(setq +latex-bibtex-file "~/org/refs/references.bib"
|
(setq +latex-bibtex-file "~/org/bibliography/references.bib"
|
||||||
+latex-enable-unicode-math t)
|
+latex-enable-unicode-math t)
|
||||||
|
|
||||||
(after! bibtex
|
;;; :tools pdf
|
||||||
(setq bibtex-dialect 'biblatex))
|
(after! pdf-tools
|
||||||
|
(setq-default pdf-view-display-size 'fit-width))
|
||||||
|
|
||||||
(when IS-MAC
|
|
||||||
(setq +latex-viewers '(skim pdf-tools)))
|
|
||||||
(load! "+org")
|
(load! "+org")
|
||||||
(load! "+bindings")
|
(load! "+bindings")
|
||||||
|
|
Loading…
Reference in New Issue