1
0
Fork 0

lotsa changes I will probably roll back, wezterm and nvim added

This commit is contained in:
Von Random 2022-09-03 19:30:19 +03:00
parent 4d85fbdca7
commit 8a05339c71
14 changed files with 220 additions and 68 deletions

View file

@ -11,7 +11,7 @@
* Aesthetics
Font and theme
#+begin_src emacs-lisp
(setq doom-font (font-spec :family "Fantasque Sans Mono" :size 17)
(setq doom-font (font-spec :family "JetBrains Mono" :size 15)
doom-variable-pitch-font (font-spec :family "PT Sans"))
(setq doom-theme 'doom-gruvbox)
#+end_src
@ -27,43 +27,3 @@ Window size and position
(setq org-directory "~/org/")
(menu-bar-mode -1)
#+end_src
* Package settings
Whenever you reconfigure a package, make sure to wrap your config in an `after!' block, otherwise Doom's defaults may override your settings. E.g.
(after! PACKAGE
(setq x y))
The exceptions to this rule:
- Setting file/directory variables (like `org-directory')
- Setting variables which explicitly tell you to set them before their package is loaded (see 'C-h v VARIABLE' to look up their documentation).
- Setting doom variables (which start with 'doom-' or '+').
Here are some additional functions/macros that will 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. Alternatively, use `C-h o' to look up a symbol (functions, variables, faces, etc).
You can also try 'gd' (or 'C-c c d') to jump to their definition and see how they are implemented.
** Org Mode
#+begin_src emacs-lisp
(after! org
(setq org-hide-emphasis-markers t)
(custom-set-faces!
'(org-table :height 1.1 :weight normal)
'(org-level-1 :height 1.8 :weight ultra-bold)
'(org-level-2 :height 1.7 :weight extra-bold)
'(org-level-3 :height 1.6 :weight bold)
'(org-level-4 :height 1.5 :weight semi-bold)
'(org-level-5 :height 1.4 :weight normal)
'(org-level-6 :height 1.3 :weight normal)
'(org-level-7 :height 1.2 :weight normal)
'(org-level-8 :height 1.1 :weight normal))
(add-hook 'org-mode-hook #'mixed-pitch-mode))
#+end_src

View file

@ -30,7 +30,7 @@
:ui
;;deft ; notational velocity for Emacs
doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs
;;doom-dashboard ; a nifty splash screen for Emacs
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
;;(emoji +unicode) ; 🙂
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
@ -95,7 +95,7 @@
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
;;lsp ; M-x vscode
lsp ; M-x vscode
magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs
;;pass ; password manager for nerds
@ -148,7 +148,7 @@
;;latex ; writing papers in Emacs has never been so fun
;;lean ; for folks with too much to prove
;;ledger ; be audit you can be
;;lua ; one-based indices? one-based indices
lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!"