mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-13 16:12:40 +02:00
feat: emacs - remove theme - catppuccin-emacs, doom-one is more comfort
This commit is contained in:
@@ -32,19 +32,9 @@
|
|||||||
;; 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
|
||||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||||
;; `load-theme' function. This is the default:
|
;; `load-theme' function. This is the default:
|
||||||
;; (setq doom-theme 'doom-one)
|
;; other doom's official themes:
|
||||||
;; https://github.com/catppuccin/emacs/
|
;; https://github.com/doomemacs/themes
|
||||||
(setq doom-theme 'catppuccin)
|
(setq doom-theme 'doom-one)
|
||||||
(setq catppuccin-flavor 'mocha) ;; 'frappe, 'latte, 'macchiato, or 'mocha
|
|
||||||
;; make emacs transparent(do not works on terminal)
|
|
||||||
;; (set-frame-parameter nil 'alpha-background 70)
|
|
||||||
;; (add-to-list 'default-frame-alist '(alpha-background . 70))
|
|
||||||
|
|
||||||
;;(set-frame-parameter (selected-frame) 'alpha '(<active> . <inactive>))
|
|
||||||
;;(set-frame-parameter (selected-frame) 'alpha <both>)
|
|
||||||
;; (set-frame-parameter (selected-frame) 'alpha '(85 . 50))
|
|
||||||
;; (add-to-list 'default-frame-alist '(alpha . (85 . 50)))
|
|
||||||
|
|
||||||
|
|
||||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||||
@@ -130,10 +120,3 @@
|
|||||||
:demand t
|
:demand t
|
||||||
:custom
|
:custom
|
||||||
(lsp-nix-nil-formatter ["alejandra"]))
|
(lsp-nix-nil-formatter ["alejandra"]))
|
||||||
|
|
||||||
;; fix yaml highlighting for catppuccin theme
|
|
||||||
;; https://github.com/catppuccin/emacs/issues/55
|
|
||||||
(add-hook 'yaml-mode-hook
|
|
||||||
(lambda ()
|
|
||||||
(face-remap-add-relative 'font-lock-variable-name-face
|
|
||||||
(list :foreground (catppuccin-get-color 'blue)))))
|
|
||||||
|
|||||||
@@ -34,13 +34,9 @@
|
|||||||
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
|
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||||
(emoji +unicode) ; 🙂
|
(emoji +unicode) ; 🙂
|
||||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||||
;;hydra
|
|
||||||
indent-guides ; highlighted indent columns
|
indent-guides ; highlighted indent columns
|
||||||
;;ligatures ; ligatures and symbols to make your code pretty again
|
ligatures ; ligatures and symbols to make your code pretty again
|
||||||
;;minimap ; show a map of the code on the side
|
|
||||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||||
;;nav-flash ; blink cursor line after big motions
|
|
||||||
;; neotree ; a project drawer, like NERDTree for vim
|
|
||||||
ophints ; highlight the region an operation acts on
|
ophints ; highlight the region an operation acts on
|
||||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
tabs ; a tab bar for Emacs
|
tabs ; a tab bar for Emacs
|
||||||
@@ -57,7 +53,6 @@
|
|||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
(format +onsave) ; automated prettiness
|
(format +onsave) ; automated prettiness
|
||||||
;;god ; run Emacs commands without modifier keys
|
|
||||||
;;lispy ; vim for lisp, for people who don't like vim
|
;;lispy ; vim for lisp, for people who don't like vim
|
||||||
;;multiple-cursors ; editing in many places at once
|
;;multiple-cursors ; editing in many places at once
|
||||||
;;objed ; text object editing for the innocent
|
;;objed ; text object editing for the innocent
|
||||||
@@ -94,7 +89,6 @@
|
|||||||
editorconfig ; let someone else argue about tabs vs spaces
|
editorconfig ; let someone else argue about tabs vs spaces
|
||||||
;;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)
|
||||||
;;gist ; interacting with github gists
|
|
||||||
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
|
||||||
@@ -102,8 +96,6 @@
|
|||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
pdf ; pdf enhancements
|
pdf ; pdf enhancements
|
||||||
;;prodigy ; FIXME managing external services & code builders
|
;;prodigy ; FIXME managing external services & code builders
|
||||||
;;rgb ; creating color strings
|
|
||||||
;;taskrunner ; taskrunner for all your projects
|
|
||||||
(terraform +lsp) ; infrastructure as code
|
(terraform +lsp) ; infrastructure as code
|
||||||
;;tmux ; an API for interacting with tmux
|
;;tmux ; an API for interacting with tmux
|
||||||
tree-sitter ; syntax and parsing, sitting in a tree...
|
tree-sitter ; syntax and parsing, sitting in a tree...
|
||||||
|
|||||||
@@ -14,8 +14,6 @@
|
|||||||
(package! wakatime-mode
|
(package! wakatime-mode
|
||||||
:recipe (:host github :repo "wakatime/wakatime-mode" :files ("*.el" "dist")))
|
:recipe (:host github :repo "wakatime/wakatime-mode" :files ("*.el" "dist")))
|
||||||
|
|
||||||
(package! catppuccin-theme)
|
|
||||||
|
|
||||||
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||||
;; (package! some-package)
|
;; (package! some-package)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user