Config: install popper , es-window and ace-pinyin-jump-char , keybinding optimize.
This commit is contained in:
@@ -31,9 +31,6 @@
|
||||
:config
|
||||
(which-key-mode))
|
||||
|
||||
;; 安装ace-windows,快速切换窗口
|
||||
(use-package ace-window)
|
||||
|
||||
;; 安装vertico
|
||||
(use-package vertico
|
||||
:init (vertico-mode t))
|
||||
@@ -103,14 +100,17 @@
|
||||
(use-package undo-fu)
|
||||
|
||||
(use-package undo-fu-session
|
||||
:config (undo-fu-session-global-mode))
|
||||
:init (undo-fu-session-global-mode))
|
||||
|
||||
;; vundo
|
||||
;; vundop,撤回树
|
||||
(use-package vundo
|
||||
:init (setq undo-limit 800000
|
||||
undo-strong-limit 1200000
|
||||
undo-outer-limit 12000000))
|
||||
|
||||
;; expand-region,快速展开选中
|
||||
(use-package expand-region)
|
||||
|
||||
;; ibuffer-projectile
|
||||
(use-package ibuffer-projectile
|
||||
:init (add-hook 'ibuffer-hook
|
||||
@@ -119,6 +119,9 @@
|
||||
(unless (eq ibuffer-sorting-mode 'alphabetic)
|
||||
(ibuffer-do-sort-by-alphabetic)))))
|
||||
|
||||
(use-package ace-pinyin
|
||||
:init (ace-pinyin-global-mode +1))
|
||||
|
||||
;; 安装ox-hugo
|
||||
(use-package ox-hugo
|
||||
:custom
|
||||
@@ -283,13 +286,4 @@
|
||||
(unless *is-windows*
|
||||
(use-package vterm))
|
||||
|
||||
;; lua
|
||||
(use-package lua-ts-mode
|
||||
:mode ("\\.lua\\'" . lua-ts-mode)
|
||||
:config
|
||||
(add-to-list 'treesit-language-source-alist
|
||||
'(lua "https://github.com/tree-sitter-grammars/tree-sitter-lua"))
|
||||
(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-ts-mode))
|
||||
(treesit-install-language-grammar 'lua))
|
||||
|
||||
(provide 'init-package)
|
||||
|
||||
Reference in New Issue
Block a user