feat(base): Add magit-prime, org-tree-slide, pixel-scroll and eww config
- Install magit-prime package - Add org-tree-slide with custom start/stop functions and keybindings - Enable pixel-scroll-precision-mode - Add basic eww configuration
This commit is contained in:
@@ -115,6 +115,11 @@
|
||||
("App" (mode . exwm-mode))
|
||||
("Scratch" (or
|
||||
(name . "^*scratch")))
|
||||
("eww" (or
|
||||
(mode . eww-mode)
|
||||
(mode . eww-bookmark-mode)
|
||||
(mode . eww-buffers-mode)
|
||||
(mode . eww-history-mode)))
|
||||
("Shell" (or
|
||||
(mode . eshell-mode)
|
||||
(mode . eat-mode)
|
||||
@@ -209,6 +214,25 @@
|
||||
:config
|
||||
(setq kill-whole-line t ;kill-line删除换行符
|
||||
set-mark-command-repeat-pop t)) ;更方便地pop mark
|
||||
|
||||
;; 滚动
|
||||
(use-package pixel-scroll
|
||||
:straight nil
|
||||
:hook
|
||||
(after-init . pixel-scroll-precision-mode)
|
||||
:config
|
||||
(setq scroll-preserve-screen-position t
|
||||
scroll-conservatively 101))
|
||||
|
||||
;; eww
|
||||
(use-package eww
|
||||
:config
|
||||
(setq eww-auto-rename-buffer t))
|
||||
|
||||
;; shr
|
||||
(use-package shr
|
||||
:config
|
||||
(setq shr-inhibit-images nil))
|
||||
|
||||
(provide 'init-base)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user