universe/users/infinidoge/config/doom/config.el
Infinidoge a1ba7ac3ce revert: tweak(doom): disable emojify-mode in org-mode
This reverts commit d23295278e2c1e4f282c01457175150e06197542.
2023-03-31 11:59:35 -04:00

122 lines
3.5 KiB
EmacsLisp

;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here! Remember, you do not need to run 'doom
;; sync' after modifying this file!
;; --- Identity ---
(setq
user-full-name "Infinidoge"
user-mail-address "infinidoge@doge-inc.net"
)
;; --- Appearance ---
(setq
doom-theme 'doom-one
display-line-numbers-type t
doom-modeline-enable-word-count t
)
;; --- Projectile ----
(setq
projectile-indexing-method 'hybrid
projectile-project-search-path '("~/Projects/" "~/Documents/School")
)
;; --- Treemacs ---
(use-package! treemacs
:init
(setq +treemacs-git-mode 'extended)
)
;; --- Deft ---
(setq
deft-recursive t
deft-directory "~/Documents/Notes"
)
;; --- Tramp ---
(setq
tramp-default-method "ssh"
tramp-terminal-type "tramp"
)
;; --- Flyspell ---
(after! flyspell
(setq flyspell-lazy-idle-seconds 1))
;; --- Emms ---
(setq emms-volume-change-function 'emms-volume-pulse-change)
;; --- GnuPG ---
(setq epg-pinentry-mode 'loopback)
;; --- langtool ---
(use-package! langtool
:config
(setq langtool-bin "languagetool-commandline")
)
;; --- Evil Goggles ---
(use-package! evil-goggles
:config
;; (evil-goggles-use-diff-faces)
;; (evil-goggles-use-diff-refine-faces)
(evil-goggles-use-magit-faces)
)
;; (custom-set-faces
;; '(evil-goggles-default-face ((t (:inherit 'highlight)))))
;; --- Nix ---
;; Replace nixfmt in format-all with nixpkgs-fmt
(set-formatter! 'nixfmt "nixpkgs-fmt" :modes '(nix-mode))
;; --- JSON ---
(setq js-indent-level 2)
(after! editorconfig
(add-to-list 'editorconfig-indentation-alist '(json-mode js-indent-level)))
;; --- LSP ---
(setq lsp-csharp-server-path (executable-find "omnisharp"))
;; Set doom-private-dir to the writeable location, as opposed to read-only symlink in $DOOMDIR
(setq doom-private-dir "/etc/nixos/users/infinidoge/config/doom")
;; --- --- Original Configuration Comments --- ---
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
;; are the three important ones:
;;
;; + `doom-font'
;; + `doom-variable-pitch-font'
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
;; presentations or streaming.
;;
;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
;; font string. You generally only need these two:
;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light)
;; doom-variable-pitch-font (font-spec :family "sans" :size 13))
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function.
;;
;; Here are some additional functions/macros that could help you configure Doom:
;;
;; - `load!' for loading external *.el files relative to this one
;; - `use-package!' for configuring packages
;; - `after!' for running code after a package has loaded
;; - `add-load-path!' for adding directories to the `load-path', relative to
;; this file. Emacs searches the `load-path' when you load packages with
;; `require' or `use-package'.
;; - `map!' for binding new keys
;;
;; To get information about any of these functions/macros, move the cursor over
;; the highlighted symbol at press 'K' (non-evil users must press 'C-c c k').
;; This will open documentation for it, including demos of how they are used.
;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
;; Other configuration files
(load! "config/org")
(load! "config/keybindings")