Advertisement
z1nonly

config.el

Oct 5th, 2023 (edited)
1,287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 3.38 KB | None | 0 0
  1. ;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
  2.  
  3. ;; Place your private configuration here! Remember, you do not need to run 'doom
  4. ;; sync' after modifying this file!
  5.  
  6.  
  7. ;; Some functionality uses this to identify you, e.g. GPG configuration, email
  8. ;; clients, file templates and snippets. It is optional.
  9. ;; (setq user-full-name "John Doe"
  10. ;;       user-mail-address "john@doe.com")
  11.  
  12. ;; Doom exposes five (optional) variables for controlling fonts in Doom:
  13. ;;
  14. ;; - `doom-font' -- the primary font to use
  15. ;; - `doom-variable-pitch-font' -- a non-monospace font (where applicable)
  16. ;; - `doom-big-font' -- used for `doom-big-font-mode'; use this for
  17. ;;   presentations or streaming.
  18. ;; - `doom-unicode-font' -- for unicode glyphs
  19. ;; - `doom-serif-font' -- for the `fixed-pitch-serif' face
  20. ;;
  21. ;; See 'C-h v doom-font' for documentation and more examples of what they
  22. ;; accept. For example:
  23. ;;
  24. (setq doom-font (font-spec :family "Fira Code" :size 12 :weight 'regular))
  25. ;;      doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
  26. ;;
  27. ;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
  28. ;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
  29. ;; refresh your font settings. If Emacs still can't find your font, it likely
  30. ;; wasn't installed correctly. Font issues are rarely Doom issues!
  31.  
  32. ;; There are two ways to load a theme. Both assume the theme is installed and
  33. ;; available. You can either set `doom-theme' or manually load a theme with the
  34. ;; `load-theme' function. This is the default:
  35. (setq doom-theme 'doom-one)
  36.  
  37. ;; This determines the style of line numbers in effect. If set to `nil', line
  38. ;; numbers are disabled. For relative line numbers, set this to `relative'.
  39. (setq display-line-numbers-type 'relative)
  40.  
  41. ;; If you use `org' and don't want your org files in the default location below,
  42. ;; change `org-directory'. It must be set before org loads!
  43. (setq org-directory "~/Documents/org/")
  44.  
  45.  
  46. ;; Whenever you reconfigure a package, make sure to wrap your config in an
  47. ;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
  48. ;;
  49. ;;   (after! PACKAGE
  50. ;;     (setq x y))
  51. ;;
  52. ;; The exceptions to this rule:
  53. ;;
  54. ;;   - Setting file/directory variables (like `org-directory')
  55. ;;   - Setting variables which explicitly tell you to set them before their
  56. ;;     package is loaded (see 'C-h v VARIABLE' to look up their documentation).
  57. ;;   - Setting doom variables (which start with 'doom-' or '+').
  58. ;;
  59. ;; Here are some additional functions/macros that will help you configure Doom.
  60. ;;
  61. ;; - `load!' for loading external *.el files relative to this one
  62. ;; - `use-package!' for configuring packages
  63. ;; - `after!' for running code after a package has loaded
  64. ;; - `add-load-path!' for adding directories to the `load-path', relative to
  65. ;;   this file. Emacs searches the `load-path' when you load packages with
  66. ;;   `require' or `use-package'.
  67. ;; - `map!' for binding new keys
  68. ;;
  69. ;; To get information about any of these functions/macros, move the cursor over
  70. ;; the highlighted symbol at press 'K' (non-evil users must press 'C-c c k').
  71. ;; This will open documentation for it, including demos of how they are used.
  72. ;; Alternatively, use `C-h o' to look up a symbol (functions, variables, faces,
  73. ;; etc).
  74. ;;
  75. ;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
  76. ;; they are implemented.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement