Files
.emacs.d/lisp/init-terminal-package.el
andsy10 ccd5c085f8 refactor(config): Clean up and reorganize Emacs configuration
Remove unused packages (EMMS, jinx, god-mode), simplify terminal
setup with ido instead of vertico/orderless, and reorganize
keybindings. Add new packages (debase, discomfort, git-timemachine,
edit-indirect) and improve EXWM, dired, and theme
configurations. Move restart-fcitx5 to kbd-func and update Linux
PATH for Guix.
2026-05-30 23:02:29 +08:00

53 lines
1.1 KiB
EmacsLisp
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
;;; init-terminal-package.el --- major packages -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
;; 安装crux
(use-package crux)
;; 安装hungry-delete
(use-package hungry-delete)
;; 安装drag-stuff拖动字符
(use-package drag-stuff)
;; expand-region快速展开选中
(use-package expand-region
:commands
(er/mark-symbol er/mark-word)
:config
(setq expand-region-smart-cursor t))
;; 启用savehist保存命令顺序
(use-package savehist
:init (setq enable-recursive-minibuffers t
history-length 50
savehist-additional-variables '(mark-ring
global-mark-ring
search-ring
regexp-search-ring
extended-command-history)
savehist-autosave-interval 300)
(savehist-mode))
;; saveplace保存光标位置
(use-package saveplace
:init (save-place-mode))
;; ido补全
(use-package ido
:init
(ido-mode)
(ido-everywhere)
:config
(define-key ido-common-completion-map (kbd "SPC") 'ido-restrict-to-matches))
;; general
(use-package general)
(provide 'init-terminal-package)
;;; init-terminal-package.el ends here