This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/groovy/README.org

44 lines
1.5 KiB
Org Mode
Raw Normal View History

#+TITLE: Groovy layer
[[file:img/groovy.png]]
2018-09-19 03:54:47 +00:00
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
2017-08-28 21:58:10 +00:00
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
- [[#imports][Imports]]
- [[#repl][REPL]]
* Description
2017-11-11 03:42:22 +00:00
This layer supports [[http://www.groovy-lang.org/][Groovy]] development in Spacemacs.
2017-08-28 21:58:10 +00:00
** Features:
- Basic dabbrev auto-completion with company
- Auto-generate imports with [[https://github.com/mbezjak/emacs-groovy-imports][groovy-imports]]
- Groovy REPL integration
* Install
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
add =groovy= to the existing =dotspacemacs-configuration-layers= list in this
file.
* Key bindings
** Imports
| Key Binding | Description |
|-------------+------------------------------------|
| ~SPC m r i~ | Add import for symbol around point |
** REPL
| Key Binding | Description |
|-------------+-------------------------------------------------------|
| ~SPC m s b~ | send buffer to REPL and stay in buffer |
| ~SPC m s B~ | send buffer and and switch to REPL buffer |
| ~SPC m s e~ | send sexp in front of the cursor to the REPL |
| ~SPC m s f~ | send function to REPL and stay in buffer |
| ~SPC m s F~ | send function to REPL and switch to REPL buffer |
| ~SPC m s r~ | send current region to REPL and stay in buffer |
| ~SPC m s R~ | send current region to REPL and switch to REPL buffer |