Config: add theme fix script, install doom-themes and color-theme-modern, update keybindings
This commit is contained in:
@@ -136,6 +136,13 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
|
||||
(global-set-key (kbd "<mouse-5>") 'next-buffer)
|
||||
(global-set-key (kbd "M-]") 'next-buffer)
|
||||
|
||||
;; 打开tab-line-mode
|
||||
(global-set-key (kbd "C-c u l") 'global-tab-line-mode)
|
||||
(global-set-key (kbd "<mouse-3>") 'global-tab-line-mode)
|
||||
|
||||
;; 关闭主题
|
||||
(global-set-key (kbd "C-c u d") 'disable-theme)
|
||||
|
||||
;; 打开ibuffer
|
||||
(global-set-key (kbd "C-x C-b") 'ibuffer-other-window)
|
||||
(setq ibuffer-default-sorting-mode 'filename)
|
||||
@@ -144,10 +151,6 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
|
||||
(global-set-key (kbd "M-p") 'backward-paragraph)
|
||||
(global-set-key (kbd "M-n") 'forward-paragraph)
|
||||
|
||||
;; 打开tab-line-mode
|
||||
(global-set-key (kbd "C-c u t") 'global-tab-line-mode)
|
||||
(global-set-key (kbd "<mouse-3>") 'global-tab-line-mode)
|
||||
|
||||
;; 中键使用embark打开定义
|
||||
(global-set-key (kbd "<mouse-2>") 'xref-find-definitions)
|
||||
|
||||
@@ -200,6 +203,8 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
|
||||
(global-set-key (kbd "C-x r b") 'consult-bookmark) ;; 书签菜单,embark中有更多操作
|
||||
(define-key minibuffer-local-map (kbd "C-c C-e") 'embark-export) ;; 把minibuffer结果在一个菜单中显示
|
||||
(global-set-key (kbd "C-c f e") 'consult-flycheck) ;; flycheck菜单
|
||||
(global-set-key (kbd "C-c u t") 'consult-theme) ;; 主题预览
|
||||
|
||||
(if *is-mac*
|
||||
(progn
|
||||
(global-set-key (kbd "C-c f l") 'consult-fd-global)
|
||||
|
||||
Reference in New Issue
Block a user