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.
53 lines
1.1 KiB
EmacsLisp
53 lines
1.1 KiB
EmacsLisp
;;; 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
|