mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:50:05 +08:00
Update layer lang/java doc
This commit is contained in:
parent
eb6be14955
commit
a40ad536c7
@ -2,7 +2,7 @@
|
||||
" @section Introduction, intro
|
||||
" @stylized Maktaba
|
||||
" @library
|
||||
" @order intro version dicts functions exceptions layers
|
||||
" @order intro version dicts functions exceptions layers colorscheme layer_lang_java
|
||||
" SpaceVim is a Modular configuration, a bundle of custom settings
|
||||
" and plugins, for Vim. It got inspired by spacemacs.
|
||||
|
||||
|
@ -1,3 +1,13 @@
|
||||
""
|
||||
" @section Colorscheme, colorscheme
|
||||
" gruvbox : this is SpaceVim default colorscheme. SpaceVim also support there
|
||||
" colorschemes:
|
||||
" >
|
||||
" hybrid-material
|
||||
" solarized
|
||||
" <
|
||||
|
||||
|
||||
function! SpaceVim#layers#colorscheme#plugins() abort
|
||||
return [
|
||||
\ ['morhetz/gruvbox', {'loadconf' : 1}],
|
||||
|
@ -1,3 +1,40 @@
|
||||
""
|
||||
" @section Layer_lang_java, layer_lang_java
|
||||
" This layer is for java development.
|
||||
" >
|
||||
" import-mappings:
|
||||
" mode key function
|
||||
" normal <F4> import class under corsor.
|
||||
" insert <F4> import class under corsor.
|
||||
" normal <leader>jI import missing classes.
|
||||
" normal <leader>jR remove unused imports.
|
||||
" normal <leader>ji smart import class under corsor.
|
||||
" normal <leader>jii same as <F4>
|
||||
" insert <c-j>I import missing imports.
|
||||
" insert <c-j>R remove unused imports.
|
||||
" insert <c-j>i smart import class under corsor.
|
||||
" insert <c-j>ii add import for class under corsor.
|
||||
"
|
||||
" generate-mappings:
|
||||
" mode key function
|
||||
" normal <leader>jA generate accessors.
|
||||
" normal <leader>js generate setter accessor.
|
||||
" normal <leader>jg generate getter accessor.
|
||||
" normal <leader>ja generate setter and getter accessor.
|
||||
" normal <leader>jts generate toString function.
|
||||
" normal <leader>jeq generate equals and hashcode function.
|
||||
" normal <leader>jc generate constructor.
|
||||
" normal <leader>jcc generate default constructor.
|
||||
" insert <c-j>s generate setter accessor.
|
||||
" insert <c-j>g generate getter accessor.
|
||||
" insert <c-j>a generate getter and setter accessor.
|
||||
" visual <leader>js generate setter accessor.
|
||||
" visual <leader>jg generate getter accessor.
|
||||
" visual <leader>ja generate setter and getter acctssor.
|
||||
" <
|
||||
"
|
||||
|
||||
|
||||
function! SpaceVim#layers#lang#java#plugins() abort
|
||||
let plugins = [
|
||||
\ ['wsdjeg/vim-dict', { 'on_ft' : 'java'}],
|
||||
|
@ -7,6 +7,8 @@ CONTENTS *SpaceVim-contents*
|
||||
2. Configuration...........................................|SpaceVim-config|
|
||||
3. Functions............................................|SpaceVim-functions|
|
||||
4. Layers..................................................|SpaceVim-layers|
|
||||
5. Colorscheme........................................|SpaceVim-colorscheme|
|
||||
6. Layer_lang_java................................|SpaceVim-layer_lang_java|
|
||||
|
||||
==============================================================================
|
||||
INTRODUCTION *SpaceVim-intro*
|
||||
@ -203,5 +205,52 @@ LAYERS *SpaceVim-layers*
|
||||
|
||||
SpaceVim support such layers:
|
||||
|
||||
==============================================================================
|
||||
COLORSCHEME *SpaceVim-colorscheme*
|
||||
|
||||
gruvbox : this is SpaceVim default colorscheme. SpaceVim also support there
|
||||
colorschemes:
|
||||
>
|
||||
hybrid-material
|
||||
solarized
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
LAYER_LANG_JAVA *SpaceVim-layer_lang_java*
|
||||
|
||||
This layer is for java development.
|
||||
>
|
||||
import-mappings:
|
||||
mode key function
|
||||
normal <F4> import class under corsor.
|
||||
insert <F4> import class under corsor.
|
||||
normal <leader>jI import missing classes.
|
||||
normal <leader>jR remove unused imports.
|
||||
normal <leader>ji smart import class under corsor.
|
||||
normal <leader>jii same as <F4>
|
||||
insert <c-j>I import missing imports.
|
||||
insert <c-j>R remove unused imports.
|
||||
insert <c-j>i smart import class under corsor.
|
||||
insert <c-j>ii add import for class under corsor.
|
||||
|
||||
generate-mappings:
|
||||
mode key function
|
||||
normal <leader>jA generate accessors.
|
||||
normal <leader>js generate setter accessor.
|
||||
normal <leader>jg generate getter accessor.
|
||||
normal <leader>ja generate setter and getter accessor.
|
||||
normal <leader>jts generate toString function.
|
||||
normal <leader>jeq generate equals and hashcode function.
|
||||
normal <leader>jc generate constructor.
|
||||
normal <leader>jcc generate default constructor.
|
||||
insert <c-j>s generate setter accessor.
|
||||
insert <c-j>g generate getter accessor.
|
||||
insert <c-j>a generate getter and setter accessor.
|
||||
visual <leader>js generate setter accessor.
|
||||
visual <leader>jg generate getter accessor.
|
||||
visual <leader>ja generate setter and getter acctssor.
|
||||
<
|
||||
|
||||
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
Loading…
Reference in New Issue
Block a user