Skip to content

Commit

Permalink
Merge pull request #36 from otknoy/translate
Browse files Browse the repository at this point in the history
add google-translate
  • Loading branch information
otknoy authored Dec 12, 2021
2 parents b7161c0 + 78559a0 commit 3cfac41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,15 @@
:ensure t
:blackout t
:global-minor-mode global-git-gutter-mode))
(leaf google-translate
:ensure t
:init
(require 'google-translate-default-ui)
:bind (("C-c t" . google-translate-smooth-translate))
:config
(setq google-translate-translation-directions-alist
'(("en" . "ja") ("ja" . "en")))
)
(leaf lsp-mode
:ensure t
:custom ((lsp-prefer-capf . t)
Expand Down

0 comments on commit 3cfac41

Please sign in to comment.