Some changes in doom config

This commit is contained in:
Yannik Buerkle 2024-05-25 18:20:37 +02:00
parent d31b949f50
commit 13827e6c40
3 changed files with 29 additions and 30 deletions

View file

@ -29,7 +29,7 @@
;; refresh your font settings. If Emacs still can't find your font, it likely
;; wasn't installed correctly. Font issues are rarely Doom issues!
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size 14)
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size 15)
doom-variable-pitch-font (font-spec :family "Noto Sans" :size 12))
;; There are two ways to load a theme. Both assume the theme is installed and
@ -78,15 +78,16 @@
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
(setq org-plantuml-jar-path "/home/yannik/plantuml.jar")
(setq org-plantuml-default-exec-mode 'jar)
(after! org
(setq org-plantuml-jar-path "/home/yannik/plantuml.jar"
org-plantuml-default-exec-mode 'jar
org-hide-emphasis-markers t) ;; hides emphasis markup like /.../ for italics
(setq org-hide-emphasis-markers t) ;; hides emphasis markup like /.../ for italics
(custom-set-faces
'(org-level-1 ((t (:inherit outline-1 :height 1.5))))
'(org-level-2 ((t (:inherit outline-2 :height 1.35))))
'(org-level-3 ((t (:inherit outline-3 :height 1.25))))
'(org-level-4 ((t (:inherit outline-4 :height 1.1))))
'(org-level-5 ((t (:inherit outline-5 :height 1.1))))
(set-face-attribute 'org-document-title nil :height 1.5))
(custom-set-faces
'(org-level-1 ((t (:inherit outline-1 :height 1.5))))
'(org-level-2 ((t (:inherit outline-2 :height 1.35))))
'(org-level-3 ((t (:inherit outline-3 :height 1.25))))
'(org-level-4 ((t (:inherit outline-4 :height 1.1))))
'(org-level-5 ((t (:inherit outline-5 :height 1.1))))
(set-face-attribute 'org-document-title nil :height 1.5))
)

View file

@ -75,7 +75,7 @@
vc ; version-control and Emacs, sitting in a tree
:term
;;eshell ; the elisp shell that works everywhere
eshell ; the elisp shell that works everywhere
;;shell ; simple shell REPL for Emacs
;;term ; basic terminal emulator for Emacs
vterm ; the best terminal emulation in Emacs
@ -96,7 +96,7 @@
;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
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
@ -141,24 +141,24 @@
;;(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on
;;json ; At least it ain't XML
json ; At least it ain't XML
;;(java +lsp) ; the poster child for carpal tunnel syndrome
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
(javascript +lsp) ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
latex ; writing papers in Emacs has never been so fun
(latex +lsp) ; 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
markdown ; writing docs for people to ignore
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel
(org +pretty) ; organize your plain life in plain text
;;php ; perl's insecure younger brother
plantuml ; diagrams for confusing people more
plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
;;python ; beautiful is better than ugly
(python +lsp) ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6
@ -173,7 +173,7 @@
;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
;;web ; the tubes
web ; the tubes
yaml ; JSON, but readable
;;zig ; C, but simpler

View file

@ -1,8 +1,8 @@
#+TITLE: Dotfiles
#+OPTIONS: toc:nil
* Clone (recommended)
* Cloning
** Base repo (recommended)
This clone step is based on the tutorial at [[https://www.atlassian.com/git/tutorials/dotfiles]].
Clone dotfiles to ~/.config/dotfiles and build a work tree in $HOME:
@ -20,8 +20,7 @@ When you use src_shell{dotfiles status}, you see all the files in your home dire
dotfiles config --local status.showUntrackedFiles no
#+end_src
* Clone (alternate)
** Stow (alternate)
If you are unfamiliar with bare repos or you don't want a command aliased to git, you can also use [[https://www.gnu.org/software/gnu][GNU Stow]]. Stow automatically links files or directories from the stow-dir to your dotfiles folder.
First, you need to install Stow, if it isn't already installed:
@ -53,17 +52,16 @@ mv ~/file-with-error ~/file-with-error.bak
and try =stow= again. Now you can compare those backupped files with the new ones and extend these as you like.
* fzf
* Modules
** fzf
If your zsh startes with the message =unknown option: --zsh=, your fzf version is too old. Install fzf with version 0.48.1 or later.
You can download fzf from [[https://github.com/junegunn/fzf/releases][junegunn/fzf]].
Extract the tar.gz file and copy fzf to /usr/local/bin or any location on your $PATH.
* tmux
Tmux-plugin-manager TPM writes its plugins to =$XDG_CONFIG_HOME/tmux/plugins/=. As we /stow/ our config to =$XDG_CONFIG_HOME/tmux/=, too, we must create this directory before /stow/-ing, so only the tmux.conf is a symlink.
** tmux
Tmux-plugin-manager TPM writes its plugins to =$XDG_CONFIG_HOME/tmux/plugins/=. As we /stow/ our config to =$XDG_CONFIG_HOME/tmux/=, too, we must create this directory before /stow/-ing, so only the tmux.conf is a symlink. This is not needed when using recommended base-repo install.
#+begin_src shell
mkdir $XDG_CONFIG_HOME/tmux # before stowing