mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-15 08:09:11 +08:00
Add +project mappings group
This commit is contained in:
parent
9d4ddd0747
commit
9b313222a0
@ -8,5 +8,5 @@ endfunction
|
||||
|
||||
function! SpaceVim#layers#core#config() abort
|
||||
let g:rooter_silent_chdir = 1
|
||||
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['p', 't'], 'Rooter', 'find-project-root', 1)
|
||||
endfunction
|
||||
|
@ -17,3 +17,7 @@ function! SpaceVim#layers#format#plugins() abort
|
||||
\ ['sbdchd/neoformat', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}],
|
||||
\ ]
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#format#config() abort
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['b', 'f'], 'Neoformat', 'format-codo', 1)
|
||||
endfunction
|
||||
|
@ -12,6 +12,7 @@ function! SpaceVim#mapping#space#init() abort
|
||||
let g:_spacevim_mappings_space.b = {'name' : '+Buffers'}
|
||||
let g:_spacevim_mappings_space.f = {'name' : '+Files'}
|
||||
let g:_spacevim_mappings_space.w = {'name' : '+Windows'}
|
||||
let g:_spacevim_mappings_space.p = {'name' : '+Projects'}
|
||||
" Windows
|
||||
let g:_spacevim_mappings_space.w['<Tab>'] = ['wincmd w', 'alternate-window']
|
||||
call SpaceVim#mapping#menu('alternate-window', '[SPC]w<Tab>', 'wincmd w')
|
||||
|
@ -8,9 +8,10 @@ title: "Documentation"
|
||||
|
||||
- Features
|
||||
- [Modular configuration](#modular-configuration)
|
||||
- [Awesome ui](#awesome-ui)
|
||||
- [Mnemonic key bindings](#mnemonic-key-bindings)
|
||||
- [Neovim centric - Dark powered mode](#neovim-centric---dark-powered-mode-of-spacevim)
|
||||
- [Language specific mode](#language-specific-mode)
|
||||
- [Awesome ui](#awesome-ui)
|
||||
- [Unite centric work-flow](#unite-centric-work-flow)
|
||||
- [multiple leader mode](#multiple-leader-mode)
|
||||
- [Custom configuration](#custom-configuration)
|
||||
@ -24,6 +25,10 @@ title: "Documentation"
|
||||
- outline + filemanager + checker
|
||||

|
||||
|
||||
## Mnemonic key bindings
|
||||
|
||||
Key bindings are organized using mnemonic prefixes like b for buffer, p for project, s for search, h for help, etc…
|
||||
|
||||
## Language specific mode
|
||||
|
||||
## Key Mapping
|
||||
|
Loading…
x
Reference in New Issue
Block a user