diff options
| author | cashmere <cashmere@autistici.org> | 2026-01-04 00:09:07 +0100 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-01-04 00:09:07 +0100 |
| commit | ac3667ae4566b41fef87155feea513fe6cf2216b (patch) | |
| tree | 7872e15bf7dd5d4286285ab53c4539df877f04ad | |
| parent | 3865a9faf80010f5b6d9088ad470fd0bdd8e7021 (diff) | |
| download | emacs-ac3667ae4566b41fef87155feea513fe6cf2216b.tar.gz | |
sync
| -rw-r--r-- | config.el | 16 | ||||
| -rw-r--r-- | config.org | 22 | ||||
| -rw-r--r-- | custom-vars.el | 2 |
3 files changed, 32 insertions, 8 deletions
@@ -271,9 +271,9 @@ (lambda-themes-set-italic-comments t) (lambda-themes-set-italic-keywords t) (lambda-themes-set-variable-pitch t) - (lambda-themes-set-theme 'dark) + (lambda-themes-set-theme 'light) :config - (load-theme 'lambda-dark-faded)) + (load-theme 'lambda-light)) (use-package dashboard :ensure t @@ -2143,7 +2143,7 @@ completion-category-overrides '((file (styles partial-completion))))) ;; Customi (define-globalized-minor-mode my/global-olivetti-mode olivetti-mode (lambda () (olivetti-mode 1))) (my/centered-cursor) -;; (my/global-olivetti-mode) +(my/global-olivetti-mode) (use-package org-modern-indent :straight (:host github :repo "jdtsmith/org-modern-indent") @@ -2450,6 +2450,16 @@ completion-category-overrides '((file (styles partial-completion))))) ;; Customi "mf" '(fill-paragraph :wk "fill paragraph")) +(my-leader + :keymaps 'python-mode-map + "m" '(:wk "Python mode" :ignore) + "mf" '(ruff-format-buffer :wk "format buffer") + ;; "mt" '(jinja2-insert-tag :wk "tag") + ;; "mc" '(jinja2-insert-comment :wk "comment") + + ;; "mf" '(fill-paragraph :wk "fill paragraph") + ) + (with-eval-after-load 'denote-menu (general-def 'normal denote-menu-mode-map "r" 'denote-menu-filter @@ -38,7 +38,7 @@ (setq kept-old-versions 5) #+end_src -* emacs startuup speed +* emacs startup speed #+begin_src emacs-lisp (defvar yy/cache-2 nil) @@ -312,9 +312,9 @@ (lambda-themes-set-italic-comments t) (lambda-themes-set-italic-keywords t) (lambda-themes-set-variable-pitch t) - (lambda-themes-set-theme 'dark) + (lambda-themes-set-theme 'light) :config - (load-theme 'lambda-dark-faded)) + (load-theme 'lambda-light)) #+end_src * dashboard @@ -3063,7 +3063,7 @@ ily <3. (define-globalized-minor-mode my/global-olivetti-mode olivetti-mode (lambda () (olivetti-mode 1))) (my/centered-cursor) -;; (my/global-olivetti-mode) +(my/global-olivetti-mode) #+end_src * org-modern-indent @@ -3423,6 +3423,20 @@ ily <3. "mf" '(fill-paragraph :wk "fill paragraph")) #+end_src +** python-mode keymaps + +#+begin_src emacs-lisp +(my-leader + :keymaps 'python-mode-map + "m" '(:wk "Python mode" :ignore) + "mf" '(ruff-format-buffer :wk "format buffer") + ;; "mt" '(jinja2-insert-tag :wk "tag") + ;; "mc" '(jinja2-insert-comment :wk "comment") + + ;; "mf" '(fill-paragraph :wk "fill paragraph") + ) +#+end_src + ** denote-menu keymaps #+begin_src emacs-lisp diff --git a/custom-vars.el b/custom-vars.el index 27a938b..f82f784 100644 --- a/custom-vars.el +++ b/custom-vars.el @@ -5,7 +5,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-safe-themes - '("5ec088e25ddfcfe37b6ae7712c9cb37fd283ea5df7ac609d007cafa27dab6c64" + '("0f220ea77c6355c411508e71225680ecb3e308b4858ef6c8326089d9ea94b86f" "d43860349c9f7a5b96a090ecf5f698ff23a8eb49cd1e5c8a83bb2068f24ea563" default)) '(lambda-themes-set-vibrant t) |
