Config: start customize theme with autotheme, update init-kbd.el

This commit is contained in:
trogloxene
2026-03-31 12:35:55 +08:00
parent 59b98b00fa
commit f4a77ab8b9
3 changed files with 62 additions and 0 deletions

View File

@@ -143,6 +143,9 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
;; 关闭主题
(global-set-key (kbd "C-c u d") 'disable-theme)
(global-set-key (kbd "C-c u f") 'describe-face)
(global-set-key (kbd "C-c u c") 'my-color-picker)
(global-set-key (kbd "C-c u r") 'rainbow-mode)
;; 打开ibuffer
(global-set-key (kbd "C-x C-b") 'ibuffer-other-window)
@@ -278,6 +281,12 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
(global-set-key (kbd "C-c f d") 'my-open-current-directory)
;; save-some-buffer时diff更改
(add-to-list 'save-some-buffers-action-alist
(list "d"
(lambda (buffer) (diff-buffer-with-file (buffer-file-name buffer)))
"show diff between the buffer and its file"))
;; org-mode相关
;; cycle当前subtree
(defun org-cycle-current-subtree()