Konfig Ghostty + Diverses
This commit is contained in:
+51
-13
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user