2017-04-25 15:42:58 +00:00
|
|
|
#+TITLE: spacemacs-language layer
|
|
|
|
|
2019-05-28 14:41:10 +00:00
|
|
|
#+TAGS: layer|misc|spacemacs
|
2019-05-05 17:26:40 +00:00
|
|
|
|
2019-05-07 20:05:06 +00:00
|
|
|
* Table of Contents :TOC_5_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]].
|
2019-06-01 17:13:30 +00:00
|
|
|
- Integration of google-translate into Emacs via [[https://github.com/atykhonov/google-translate][google-translate]].
|
2018-02-17 22:58:59 +00:00
|
|
|
|
|
|
|
* Key bindings
|
|
|
|
|
2018-12-05 03:03:03 +00:00
|
|
|
| Key binding | Description |
|
2018-09-19 03:54:47 +00:00
|
|
|
|-------------+----------------------------------------------------------|
|
|
|
|
| ~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 |
|