2017-04-25 15:42:58 +00:00
|
|
|
#+TITLE: spacemacs-language layer
|
|
|
|
|
|
|
|
* Table of Contents :TOC_4_gh:noexport:
|
2017-05-22 14:16:12 +00:00
|
|
|
- [[#description][Description]]
|
2018-02-17 22:58:59 +00:00
|
|
|
- [[#features][Features:]]
|
|
|
|
- [[#key-bindings][Key bindings]]
|
2017-04-25 15:42:58 +00:00
|
|
|
|
|
|
|
* Description
|
2018-02-17 22:58:59 +00:00
|
|
|
This layer adds support various language related services to Spacemacs.
|
|
|
|
|
|
|
|
** Features:
|
|
|
|
- Show definition of word at point via [[https://github.com/abo-abo/define-word][define-word]].
|
|
|
|
- Integration of google-translate into emacs via [[https://github.com/atykhonov/google-translate][google-translate]].
|
|
|
|
|
|
|
|
* Key bindings
|
|
|
|
|
|
|
|
| Key Binding | Description |
|
|
|
|
|-------------+----------------------------------------------------------|
|
|
|
|
| ~SPC x w d~ | Show definition of word at point |
|
|
|
|
| ~SPC x g l~ | Set the source and target languages for google translate |
|
|
|
|
| ~SPC x g Q~ | Send marked area to google translate as reverse query |
|
|
|
|
| ~SPC x g q~ | Send marked area to google translate as forward query |
|
|
|
|
| ~SPC x g T~ | Send word at point to google translate as reverse query |
|
|
|
|
| ~SPC x g t~ | Send word at point to google translate as forward query |
|