Skip to content
Snippets Groups Projects
Commit c40bc51b authored by Liu Miao's avatar Liu Miao
Browse files

add rime support

parent 06d63370
No related merge requests found
......@@ -11,15 +11,13 @@
:config
(setq-default deft-extensions user/notes-extensions
deft-directory user/notes-dir
deft-recursive t
))
deft-recursive t))
;;; youdao-dict
(use-package youdao-dictionary
:ensure t
:config
(evil-define-key nil 'global (kbd "<leader>oy") 'youdao-dictionary-search-at-point+)
)
(evil-define-key nil 'global (kbd "<leader>oy") 'youdao-dictionary-search-at-point+))
;;; Magit for git
(use-package magit
......@@ -44,6 +42,13 @@
"gs" 'magit-status
"gd" 'magit-diff-range))
;;; Rime
(use-package rime
:ensure t
:config
(setq rime-show-candidate 'posframe
default-input-method "rime"))
(provide 'apps)
;;; apps.el ends here
......@@ -40,11 +40,13 @@
(add-hook 'org-mode-hook
(lambda ()
(make-face 'width-font-face)
(set-face-attribute 'width-font-face nil :font "等距更纱黑体 SC 12") ;; 13, 14, 16等会出现不等宽
(set-face-attribute 'width-font-face nil :font "等距更纱黑体 SC 15") ;; 13, 14, 16等会出现不等宽
(setq buffer-face-mode-face 'width-font-face)
(buffer-face-mode))))
:config
(require 'org-tempo)
(setq org-clock-persist-file (concat user/cache-directory
"org-clock-save.el")
org-id-locations-file (concat user/cache-directory
......
......@@ -12,5 +12,10 @@
:ensure t
:hook (scheme-mode . parinfer-mode))
(use-package lispy-mode
:ensure lispy
:hook emacs-lisp-mode
:diminish lispy-mode)
(provide 'prog-lisp)
;;; prog-lisp.el ends here
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment