commit 847a0bf4a0bb47091a89325a7c9ae042b04950ad
parent 7ebaf6afe6a39e7ad5f1bd84d61f0d16084980e2
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date: Fri, 23 Dec 2022 15:55:49 +0200
Update doom config
Diffstat:
4 files changed, 67 insertions(+), 16 deletions(-)
diff --git a/.doom.d/config.el b/.doom.d/config.el
@@ -1,13 +1,34 @@
+
+;; __ __ _ _
+;; | \/ | \ | |
+;; | \ / | \| | Michael Neuper
+;; | |\/| | . ` | https://michaelneuper.com
+;; | | | | |\ | https://github.com/michaelneuper
+;; |_| |_|_| \_|
+;;
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here! Remember, you do not need to run 'doom
;; sync' after modifying this file!
+;; ; EMACS X WINDOW MANAGER
+;; (require 'exwm)
+;; (require 'exwm-config)
+;; (exwm-config-default)
+;; (require 'exwm-randr)
+;; (setq exwm-randr-workspace-output-plist '(0 "HDMI-0"))
+;; (add-hook 'exwm-randr-screen-change-hook
+;; (lambda ()
+;; (start-process-shell-command
+;; "xrandr" nil "xrandr --output HDMI-0 --mode 1920x1080 --rate 144 --pos 0x0 --rotate normal")))
+;; (exwm-randr-enable)
+;; (require 'exwm-systemtray)
+;; (exwm-systemtray-enable)
;; Some functionality uses this to identify you, e.g. GPG configuration, email
;; clients, file templates and snippets. It is optional.
-(setq user-full-name "John Doe"
- user-mail-address "john@doe.com")
+(setq user-full-name "Michael Neuper"
+ user-mail-address "michael@michaelneuper.com")
;; Doom exposes five (optional) variables for controlling fonts in Doom:
;;
@@ -84,18 +105,33 @@
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
-;; Enable gnuplot
+;; ; ORG ROAM
+(setq org-roam-directory "~/Notes")
+
+;; ; GNUPLOT
(after! org
(org-babel-do-load-languages
'org-babel-load-languages
'((gnuplot . t))))
-;; Company mode
+;; ; COMPANY MODE
(add-hook 'after-init-hook 'global-company-mode)
+from modules/completion/company/config.el
+(use-package! company ; `use-package!' is a thin wrapper around `use-package'
+ ; it is required that you use this in Doom's modules,
+ ; but not required to be used in your private config.
+:commands (company-mode global-company-mode company-complete
+ company-complete-common company-manual-begin company-grab-line)
+:config
+(setq company-idle-delay nil
+ company-tooltip-limit 10
+ company-dabbrev-downcase nil
+ company-dabbrev-ignore-case nil)
+[...])
-;; Tabnine
+;; ; TABNINE
(add-to-list 'company-backends #'company-tabnine)
;; Trigger completion immediately.
(setq company-idle-delay 0)
;; Number the candidates (use M-1, M-2 etc to select completions).
-(setq company-show-numbers t)
+(setq company-show-quick-access t)
diff --git a/.doom.d/custom.el b/.doom.d/custom.el
@@ -3,13 +3,12 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
- '(warning-suppress-types '((initialization) (initialization) (defvaralias)))
- '(org-file-apps
- '(("\\.pdf\\'" . emacs))))
+ '(package-selected-packages '(websocket)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
- )
+ '(font-lock-comment-face ((t (:slant italic))))
+ '(font-lock-keyword-face ((t (:slant italic)))))
diff --git a/.doom.d/init.el b/.doom.d/init.el
@@ -32,11 +32,16 @@
doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
- (emoji +ascii +github +unicode) ; 🙂
+ (emoji ; 🙂
+ +ascii
+ +github
+ +unicode)
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra
indent-guides ; highlighted indent columns
- (ligatures +extra +fira) ; ligatures and symbols to make your code pretty again
+ (ligatures ; ligatures and symbols to make your code pretty again
+ +extra
+ +fira)
minimap ; show a map of the code on the side
modeline ; snazzy, Atom-inspired modeline, plus API
nav-flash ; blink cursor line after big motions
@@ -67,7 +72,9 @@
word-wrap ; soft wrapping with language-aware indent
:emacs
- (dired +ranger +icons) ; making dired pretty [functional]
+ (dired ; making dired pretty [functional]
+ +ranger
+ +icons)
electric ; smarter, keyword-based electric-indent
;;ibuffer ; interactive buffer management
undo ; persistent, smarter undo for your inevitable mistakes
@@ -153,7 +160,9 @@
;;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
+ (org ; organize your plain life in plain text
+ +pretty
+ +roam)
;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
@@ -177,7 +186,9 @@
;;zig ; C, but simpler
:email
- (mu4e +org +gmail)
+ (mu4e
+ +org
+ +gmail)
;;notmuch
;;(wanderlust +gmail)
@@ -191,4 +202,6 @@
:config
;;literate
- (default +bindings +smartparens))
+ (default
+ +bindings
+ +smartparens))
diff --git a/.doom.d/packages.el b/.doom.d/packages.el
@@ -49,4 +49,7 @@
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t)
+(package! dashboard)
(package! chess)
+(package! company)
+(package! company-tabnine)