Konfig Ghostty + Diverses

This commit is contained in:
2026-07-23 06:44:07 +02:00
parent b29f1d9a27
commit 76bb8dddde
11 changed files with 196 additions and 101 deletions
+51 -13
View File
@@ -74,6 +74,9 @@
(setq evil-split-window-below t
evil-vsplit-window-right t)
;; Dashboard
(setq fancy-splash-image "~/Nextcloud/Dokumente/org_files/images/doom-emacs-slant-out-color.png")
(setq org-journal-dir "~/Nextcloud/Dokumente/org_files/journal/"
org-journal-file-format "%Y%m"
org-journal-file-type 'monthly
@@ -93,18 +96,18 @@
(setq all-the-icons-scale-factor 1.0)
(use-package doom-modeline
:ensure t
:init (doom-modeline-mode 1)
:config
(setq doom-modeline-icon t
doom-modeline-height 20
doom-modeline-major-mode-icon t
doom-modeline-major-mode-color-icon t
doom-modeline-buffer-state-icon t
doom-modeline-buffer-modification-icon t
doom-modeline-modal-modern-icon t
doom-modeline-buffer-file-name-style 'truncate-nil))
;; (use-package doom-modeline
;; :ensure t
;; :init (doom-modeline-mode 1)
;; :config
;; (setq doom-modeline-icon t
;; doom-modeline-height 20
;; doom-modeline-major-mode-icon nil
;; doom-modeline-major-mode-color-icon t
;; doom-modeline-buffer-state-icon t
;; doom-modeline-buffer-modification-icon t
;; doom-modeline-modal-modern-icon t
;; doom-modeline-buffer-file-name-style 'truncate-nil))
;;(require 'org-superstar)
;;(add-hook 'org-mode-hook (lambda () (org-superstar-mode 1)))
@@ -170,10 +173,22 @@
;; (define-globalized-minor-mode global-rainbow-mode rainbow-mode
;; (lambda ()
;; (when (not (memq major-mode
;; (list 'org-agenda-mode 'org-roam-mode 'elfeed-search-mode 'elfeed-show-mode)))
;; (list ''org-agenda-mode 'org-roam-mode 'elfeed-search-mode 'elfeed-show-mode)))
;; (rainbow-mode 1))))
;; (global-rainbow-mode 1 )
(define-globalized-minor-mode global-rainbow-mode rainbow-mode
(lambda ()
;; Prüft, ob der aktuelle Buffer das Doom-Dashboard ist oder auf der Blacklist steht
(unless (or (string= (buffer-name) "*doom*")
(memq major-mode '(org-agenda-mode
org-roam-mode
elfeed-search-mode
elfeed-show-mode)))
(rainbow-mode 1))))
(global-rainbow-mode 1)
;; allgmeine Einstellungen
(after! org
(setq calendar-week-start-day 1
@@ -349,6 +364,29 @@
(interactive)
(insert-file-contents "~/Nextcloud/Dokumente/org_files/header.txt"))
;; fzf
(use-package fzf
:bind
;; Don't forget to set keybinds!
:config
(setq fzf/args "-x --color dark --print-query --margin=1,0 --no-hscroll"
fzf/executable "fzf"
fzf/git-grep-args "-i --line-number %s"
;; command used for `fzf-grep-*` functions
;; example usage for ripgrep:
;; fzf/grep-command "rg --no-heading -nH"
fzf/grep-command "grep -nrH"
;; If nil, the fzf buffer will appear at the top of the window
fzf/position-bottom t
fzf/window-height 15))
;; Bookmarks
(setq bookmark-default-file "~/Nextcloud/configs/global/bookmarks_emacs") ;;define file to use.
(setq bookmark-save-flag 1) ;save bookmarks to .emacs.bmk after each entry
;; save last position in every file
(save-place-mode t)
;; ;;; Configure Package Archives -----------------------------
;; ;; Initialize package sources
+2 -2
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
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
@@ -119,7 +119,7 @@
;;coq ; proofs-as-programs
;;crystal ; ruby at the speed of c
;;csharp ; unity, .NET, and mono shenanigans
;;data ; config/data formats
data ; config/data formats
;;(dart +flutter) ; paint ui and not much else
;;dhall
;;elixir ; erlang done right
+3
View File
@@ -15,9 +15,12 @@
(package! elfeed-goodies)
(package! elfeed-org)
(package! nerd-icons)
(package! fzf)
(package! kdl-mode)
;;(package! modus-themes)
;;(package! org-super-agenda)
(package! org-superstar)
(package! rainbow-mode)
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
;(package! some-package)