diff --git a/config.el b/config.el index 988be6689eadb99322ffe8c6810eb3e9b7e73305..ce996bb1f20cf9f989f820d32f7b8ecd2049620f 100644 --- a/config.el +++ b/config.el @@ -6,12 +6,19 @@ ;; Notes: ;; * Don't forget to =pip install cmake-language-server= -(require 'irony) +;; By default new buffers are in org mode +(setq-default major-mode 'org-mode) ;; Some functionality uses this to identify you, e.g. GPG configuration, email ;; clients, file templates and snippets. -(setq user-full-name "Maël MARTIN" - user-mail-address "mael.martin@protonmail.com") +(setq user-full-name "Maël MARTIN" + user-mail-address "mael.martin@protonmail.com" + truncate-string-ellipsis "…" ; replace '...' by the utf8 character + evil-vsplit-window-right t ; natural splits + evil-split-window-below t ; natural splits + calc-angle-mode 'rad ; radians are rad + calc-symbolic-mode t ; keeps expressions like \sqrt{2} irrational for as long as possible +) ;; Set Doom fonts (setq doom-font (font-spec :family "Fira Code" :size 12 :weight 'medium) diff --git a/init.el b/init.el index f07c5885e8cc88b4b8b5b08cee112d799ef94255..f12ad26eebc92dcba988345f68db3c01cec2e7d2 100644 --- a/init.el +++ b/init.el @@ -66,7 +66,7 @@ word-wrap ; soft wrapping with language-aware indent :emacs - dired ; making dired pretty [functional] + (dired +icons) ; making dired pretty [functional] electric ; smarter, keyword-based electric-indent ibuffer ; interactive buffer management undo ; persistent, smarter undo for your inevitable mistakes @@ -152,14 +152,14 @@ php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional - python ; beautiful is better than ugly + (python +lsp +pyright) ; beautiful is better than ugly ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 ;;rest ; Emacs as a REST client ;;rst ; ReST in peace ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} - rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() + (rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() scala ; java, but good ;;(scheme +guile) ; a fully conniving family of lisps sh ; she sells {ba,z,fi}sh shells on the C xor @@ -181,7 +181,7 @@ ;;emms ;;everywhere ; *leave* Emacs!? You must be joking ;;irc ; how neckbeards socialize - ;;(rss +org) ; emacs as an RSS reader + (rss +org) ; emacs as an RSS reader ;;twitter ; twitter client https://twitter.com/vnought :config