vats_paster

config.el

Oct 27th, 2020
674
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. (setq gc-cons-threshold 100000000)
  2. (add-hook 'after-init-hook (lambda () (setq gc-cons-threshold 800000)))
  3.  
  4. (setq user-full-name "hjkjk khk"
  5. user-mail-address "[email protected]")
  6.  
  7. (setq display-line-numbers-type 'relative)
  8. (global-visual-line-mode t)
  9.  
  10. (setq-default bidi-paragraph-direction 'left-to-right)
  11.  
  12. (so-long-minor-mode)
  13. (add-hook 'window-setup-hook #'toggle-frame-fullscreen)
  14. (setq doom-unicode-font (font-spec :name "DejaVu Sans Mono" :size 15)
  15. doom-font (font-spec :name "Source Code Pro" :size 16)
  16. doom-big-font (font-spec :name "Source Code Pro" :size 24))
  17.  
  18. (after! doom-themes
  19. (setq doom-themes-enable-bold t
  20. doom-themes-enable-italic t))
  21.  
  22. (custom-set-faces!
  23. '(font-lock-comment-face :strike-through t)
  24. '(font-lock-function-name-face :weight bold :slant italic)
  25. '(font-lock-variable-name-face :weight bold :slant italic)
  26. '(font-lock-keyword-face :height 154)
  27. '(font-lock-preprocessor-face :height 154)
  28. '(font-lock-string-face :slant oblique)
  29. '(font-lock-type-face :slant italic))
  30.  
  31. (load-theme 'doom-laserwave t)
  32. (global-set-key [f8] 'neotree-toggle)
  33. (setq scroll-conservatively 101)
  34. (setq fast-but-imprecise-scrolling t)
  35.  
  36. (require 'sublimity)
  37. (require 'sublimity-attractive)
  38. (require 'sublimity-scroll)
  39. (sublimity-mode 1)
  40. (setq sublimity-scroll-weight 1
  41. sublimity-scroll-drift-length 0)
  42.  
  43. (setq sublimity-scroll-vertical-frame-delay 0.002)
  44.  
  45. (setq flycheck-check-syntax-automatically '(save))
  46.  
Advertisement
Add Comment
Please, Sign In to add comment