Files
.emacs.d/lisp/init-terminal-package.el
andsy10 8db37d1c6d feat(config): Improve dired, keybindings, terminal UI and add packages
- Add dired buffer killing and custom dirvish layout toggle
- Replace ido with fido-mode in terminal config
- Add custom terminal color theme with 24-bit color support
- Add new packages: tokei, helpful, gptel-magit
- Refactor project keybindings under C-x p prefix
- Add mwim navigation bindings globally
- Improve ibuffer filter groups and consult buffer filters
- Add diff-mode keybindings and refine magit diff display
2026-06-03 20:29:01 +08:00

55 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))
;; mwim更聪明的beginning/end of line
(use-package mwim)
;; 启用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))
;; 补全
(use-package icomplete
:init
(fido-mode)
:config
(keymap-unset minibuffer-local-completion-map "TAB")
(keymap-set minibuffer-local-completion-map "TAB" 'icomplete-force-complete))
(provide 'init-terminal-package)
;;; init-terminal-package.el ends here