Config: fix my/org-journal-mark-old-todos-as-comment function , keybinding optimize , undo enhance , refactor some code.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
;;; init-package.el
|
||||
;;; -*- lexical-binding: t -*-
|
||||
|
||||
(setopt use-package-enable-imenu-support t)
|
||||
|
||||
;; 安装gcmh用于管理内存回收
|
||||
(use-package gcmh
|
||||
:init
|
||||
@@ -91,13 +93,32 @@
|
||||
search-ring
|
||||
regexp-search-ring
|
||||
extended-command-history)
|
||||
savehist-autosave-interval 300)
|
||||
)
|
||||
savehist-autosave-interval 300))
|
||||
|
||||
;; saveplace,保存光标位置
|
||||
(use-package saveplace
|
||||
:hook (after-init . save-place-mode))
|
||||
|
||||
;; undo增强
|
||||
(use-package undo-fu)
|
||||
|
||||
(use-package undo-fu-session
|
||||
:config (undo-fu-session-global-mode))
|
||||
|
||||
;; vundo
|
||||
(use-package vundo
|
||||
:init (setq undo-limit 800000
|
||||
undo-strong-limit 1200000
|
||||
undo-outer-limit 12000000))
|
||||
|
||||
;; ibuffer-projectile
|
||||
(use-package ibuffer-projectile
|
||||
:init (add-hook 'ibuffer-hook
|
||||
(lambda ()
|
||||
(ibuffer-projectile-set-filter-groups)
|
||||
(unless (eq ibuffer-sorting-mode 'alphabetic)
|
||||
(ibuffer-do-sort-by-alphabetic)))))
|
||||
|
||||
;; 安装ox-hugo
|
||||
(use-package ox-hugo
|
||||
:custom
|
||||
|
||||
Reference in New Issue
Block a user