mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 07:09:11 +08:00
add link for the DOC of golang layer
This commit is contained in:
parent
3f3d413c74
commit
c67f98fd2e
@ -33,6 +33,7 @@ call SpaceVim#layers#load('shell',
|
||||
| [git](https://spacevim.org/layers/git/) | This layers adds extensive support for git |
|
||||
| [lang#c](https://spacevim.org/layers/lang/c/) | This layer is for c/c++/object-c development |
|
||||
| [lang#elixir](https://spacevim.org/layers/lang/elixir/) | This layer is for elixir development, provide autocompletion, syntax checking, code format for elixir file. |
|
||||
| [lang#go](https://spacevim.org/layers/lang/go/) | This layer is for go development |
|
||||
| [lang#java](https://spacevim.org/layers/lang/java/) | This layer is for Java development |
|
||||
| [lang#javascript](https://spacevim.org/layers/lang/javascript/) | This layer is for JaveScript development |
|
||||
| [lang#lisp](https://spacevim.org/layers/lang/lisp/) | for lisp development |
|
||||
|
@ -23,7 +23,6 @@ To use this configuration layer, add `SPLayer 'lang#go` to your custom configura
|
||||
|
||||
## Key bindings
|
||||
|
||||
<<<<<<< HEAD
|
||||
**Import key bindings:**
|
||||
|
||||
| Key Binding | Description |
|
||||
@ -40,30 +39,7 @@ To use this configuration layer, add `SPLayer 'lang#go` to your custom configura
|
||||
|
||||
**Code formatting:**
|
||||
|
||||
the default key bindings for format current buffer is `SPC b f`. and this key bindings is defined in [format layer](<>). you can also use `g=` to indent current buffer.
|
||||
the default key bindings for format current buffer is `SPC b f`, and this key bindings is defined in [format layer](<>). you can also use `g=` to indent current buffer.
|
||||
|
||||
To make neoformat support java file, you should install uncrustify. or
|
||||
download [google's formater jar](https://github.com/google/google-java-format)
|
||||
and add `let g:spacevim_layer_lang_java_formatter = 'path/to/google-java-format.jar'`
|
||||
to SpaceVim custom configuration file.
|
||||
=======
|
||||
| Key Binding | Description |
|
||||
| ----------- | ---------------------------------------- |
|
||||
| `SPC d l` | launching debugger |
|
||||
| `SPC d c` | Continue the execution |
|
||||
| `SPC d b` | Toggle a breakpoint for the current line |
|
||||
| `SPC d B` | Clear all breakpoints |
|
||||
| `SPC d o` | step over |
|
||||
| `SPC d i` | step into functions |
|
||||
| `SPC d O` | step out of current function |
|
||||
| `SPC d e s` | Evaluate and print the selected text |
|
||||
| `SPC d e e` | Evaluate the `<cword>` under the cursor |
|
||||
| `SPC d e S` | Execute the selected text |
|
||||
| `SPC d k` | Terminates the debugger |
|
||||
|
||||
**Debug Transient State**
|
||||
|
||||
key bindings is too long? use `SPC d .` to open the debug transient state:
|
||||
|
||||

|
||||
>>>>>>> 36178d7c98ab1fbcaeb36e048dc5b84b8c41680c
|
||||
To make neoformat support go files, you should have [go-fmt](http://golang.org/cmd/gofmt/) command available, or
|
||||
install [goimports](https://godoc.org/golang.org/x/tools/cmd/goimports). `go-fmt` is delivered by golang's default installation, so make sure you have correctly setup your go environment.
|
||||
|
Loading…
x
Reference in New Issue
Block a user