add sdcv
This commit is contained in:
4 files changed
+27
-1
No files matched your search
@@ -55,3 +55,6 @@
|
|||||||
[submodule "site-lisp/awesome-pair"]
|
[submodule "site-lisp/awesome-pair"]
|
||||||
path = site-lisp/awesome-pair
|
path = site-lisp/awesome-pair
|
||||||
url = https://github.com/manateelazycat/awesome-pair.git
|
url = https://github.com/manateelazycat/awesome-pair.git
|
||||||
|
[submodule "site-lisp/sdcv"]
|
||||||
|
path = site-lisp/sdcv
|
||||||
|
url = https://github.com/manateelazycat/sdcv.git
|
||||||
@@ -110,6 +110,7 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
|
|||||||
(require 'init-theme)
|
(require 'init-theme)
|
||||||
(require 'init-vertico)
|
(require 'init-vertico)
|
||||||
(require 'init-keybindings)
|
(require 'init-keybindings)
|
||||||
|
(require 'init-tools)
|
||||||
|
|
||||||
(require 'which-key)
|
(require 'which-key)
|
||||||
(setq which-key-show-early-on-C-h t)
|
(setq which-key-show-early-on-C-h t)
|
||||||
@@ -127,4 +128,3 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
|
|||||||
|
|
||||||
(with-eval-after-load 'package
|
(with-eval-after-load 'package
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")))
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")))
|
||||||
|
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
;; -*- coding: utf-8; lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(require 'lazy-load)
|
||||||
|
|
||||||
|
|
||||||
|
(lazy-load-local-keys
|
||||||
|
'(("s" . sdcv-search-pointer))
|
||||||
|
creature/map "sdcv")
|
||||||
|
|
||||||
|
(with-eval-after-load 'sdcv
|
||||||
|
(setq sdcv-dictionary-data-dir (file-truename "~/.stardict/dic/"))
|
||||||
|
(setq sdcv-dictionary-simple-list
|
||||||
|
'("牛津英汉双解美化版"
|
||||||
|
"朗道英汉字典5.0"
|
||||||
|
"朗道汉英字典5.0"))
|
||||||
|
(setq sdcv-dictionary-complete-list
|
||||||
|
'("牛津英汉双解美化版"
|
||||||
|
"朗道英汉字典5.0"
|
||||||
|
"朗道汉英字典5.0")))
|
||||||
|
|
||||||
|
|
||||||
|
(provide 'init-tools)
|
||||||
Submodule
+1
Submodule site-lisp/sdcv added at f50793189f.
Reference in new issue
Block a user