Some changes in doom config
This commit is contained in:
parent
d31b949f50
commit
13827e6c40
3 changed files with 29 additions and 30 deletions
|
@ -29,7 +29,7 @@
|
||||||
;; refresh your font settings. If Emacs still can't find your font, it likely
|
;; refresh your font settings. If Emacs still can't find your font, it likely
|
||||||
;; wasn't installed correctly. Font issues are rarely Doom issues!
|
;; 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))
|
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
|
;; 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
|
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||||
;; they are implemented.
|
;; they are implemented.
|
||||||
|
|
||||||
(setq org-plantuml-jar-path "/home/yannik/plantuml.jar")
|
(after! org
|
||||||
(setq org-plantuml-default-exec-mode 'jar)
|
(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))))
|
||||||
(custom-set-faces
|
'(org-level-2 ((t (:inherit outline-2 :height 1.35))))
|
||||||
'(org-level-1 ((t (:inherit outline-1 :height 1.5))))
|
'(org-level-3 ((t (:inherit outline-3 :height 1.25))))
|
||||||
'(org-level-2 ((t (:inherit outline-2 :height 1.35))))
|
'(org-level-4 ((t (:inherit outline-4 :height 1.1))))
|
||||||
'(org-level-3 ((t (:inherit outline-3 :height 1.25))))
|
'(org-level-5 ((t (:inherit outline-5 :height 1.1))))
|
||||||
'(org-level-4 ((t (:inherit outline-4 :height 1.1))))
|
(set-face-attribute 'org-document-title nil :height 1.5))
|
||||||
'(org-level-5 ((t (:inherit outline-5 :height 1.1))))
|
)
|
||||||
(set-face-attribute 'org-document-title nil :height 1.5))
|
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
vc ; version-control and Emacs, sitting in a tree
|
vc ; version-control and Emacs, sitting in a tree
|
||||||
|
|
||||||
:term
|
:term
|
||||||
;;eshell ; the elisp shell that works everywhere
|
eshell ; the elisp shell that works everywhere
|
||||||
;;shell ; simple shell REPL for Emacs
|
;;shell ; simple shell REPL for Emacs
|
||||||
;;term ; basic terminal emulator for Emacs
|
;;term ; basic terminal emulator for Emacs
|
||||||
vterm ; the best terminal emulation in Emacs
|
vterm ; the best terminal emulation in Emacs
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
;;ein ; tame Jupyter notebooks with emacs
|
;;ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
;;lsp ; M-x vscode
|
lsp ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
|
@ -141,24 +141,24 @@
|
||||||
;;(haskell +lsp) ; a language that's lazier than I am
|
;;(haskell +lsp) ; a language that's lazier than I am
|
||||||
;;hy ; readability of scheme w/ speed of python
|
;;hy ; readability of scheme w/ speed of python
|
||||||
;;idris ; a language you can depend on
|
;;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
|
;;(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
|
;;julia ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;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
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;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
|
markdown ; writing docs for people to ignore
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
;;nix ; I hereby declare "nix geht mehr!"
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
(org +pretty) ; organize your plain life in plain text
|
(org +pretty) ; organize your plain life in plain text
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
plantuml ; diagrams for confusing people more
|
plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
;;python ; beautiful is better than ugly
|
(python +lsp) ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
;;solidity ; do you need a blockchain? No.
|
;;solidity ; do you need a blockchain? No.
|
||||||
;;swift ; who asked for emoji variables?
|
;;swift ; who asked for emoji variables?
|
||||||
;;terra ; Earth and Moon in alignment for performance.
|
;;terra ; Earth and Moon in alignment for performance.
|
||||||
;;web ; the tubes
|
web ; the tubes
|
||||||
yaml ; JSON, but readable
|
yaml ; JSON, but readable
|
||||||
;;zig ; C, but simpler
|
;;zig ; C, but simpler
|
||||||
|
|
||||||
|
|
16
README.org
16
README.org
|
@ -1,8 +1,8 @@
|
||||||
#+TITLE: Dotfiles
|
#+TITLE: Dotfiles
|
||||||
#+OPTIONS: toc:nil
|
#+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]].
|
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:
|
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
|
dotfiles config --local status.showUntrackedFiles no
|
||||||
#+end_src
|
#+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.
|
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:
|
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.
|
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.
|
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]].
|
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.
|
Extract the tar.gz file and copy fzf to /usr/local/bin or any location on your $PATH.
|
||||||
|
|
||||||
* tmux
|
** 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.
|
||||||
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.
|
|
||||||
|
|
||||||
#+begin_src shell
|
#+begin_src shell
|
||||||
mkdir $XDG_CONFIG_HOME/tmux # before stowing
|
mkdir $XDG_CONFIG_HOME/tmux # before stowing
|
||||||
|
|
Loading…
Reference in a new issue