1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:30:03 +08:00

Fix SPC ? key binding (#2109)

This commit is contained in:
Wang Shidong 2018-08-31 10:42:45 +08:00 committed by GitHub
parent c4fa33a41c
commit 77e7d46e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 14 deletions

View File

@ -24,6 +24,7 @@ endfunction
let s:filename = expand('<sfile>:~')
let s:lnum = expand('<slnum>') + 2
function! SpaceVim#layers#denite#config() abort
call SpaceVim#mapping#space#def('nnoremap', ['?'], 'Denite menu:CustomKeyMaps -input=[SPC]', 'show mappings', 1)
call SpaceVim#mapping#space#def('nnoremap', ['h', '[SPC]'], 'Denite help -input=SpaceVim', 'find-SpaceVim-help', 1)
call SpaceVim#mapping#space#def('nnoremap', ['b', 'b'], 'Denite buffer', 'buffer list', 1)
call SpaceVim#mapping#space#def('nnoremap', ['f', 'r'], 'Denite file_mru', 'open-recent-file', 1)

View File

@ -48,6 +48,7 @@ endfunction
let s:filename = expand('<sfile>:~')
let s:lnum = expand('<slnum>') + 2
function! SpaceVim#layers#unite#config() abort
call SpaceVim#mapping#space#def('nnoremap', ['?'], 'Unite menu:CustomKeyMaps -input=[SPC]', 'show mappings', 1)
call SpaceVim#mapping#space#def('nnoremap', ['h', '[SPC]'], 'Unite help -input=SpaceVim', 'unite-SpaceVim-help', 1)
call SpaceVim#mapping#space#def('nnoremap', ['b', 'b'], 'Unite buffer', 'buffer list', 1)
call SpaceVim#mapping#space#def('nnoremap', ['h', 'i'], 'UniteWithCursorWord help', 'get help with the symbol at point', 1)

View File

@ -10,8 +10,6 @@ let s:file = expand('<sfile>:~')
function! SpaceVim#mapping#space#init() abort
let g:_spacevim_mappings_space = {}
let g:_spacevim_mappings_prefixs['[SPC]'] = {'name' : '+SPC prefix'}
let g:_spacevim_mappings_space['?'] =
\ ['Unite menu:CustomKeyMaps -input=[SPC]', 'show mappings']
let g:_spacevim_mappings_space.t = {'name' : '+Toggles'}
let g:_spacevim_mappings_space.t.h = {'name' : '+Toggles highlight'}
let g:_spacevim_mappings_space.t.m = {'name' : '+modeline'}

View File

@ -766,18 +766,18 @@ features.
But in current version of SpaceVim, leaderf/ctrlp and fzf layer has not be finished.
| Feature | unite | denite | leaderf | ctrlp | fzf |
| ------------------- | ------- | ------- | ------- | ------- | ------- |
| menu: CustomKeyMaps | **yes** | **yes** | no | no | no |
| register | **yes** | **yes** | no | **yes** | **yes** |
| file | **yes** | **yes** | **yes** | **yes** | **yes** |
| yank history | **yes** | **yes** | no | no | **yes** |
| jump | **yes** | **yes** | no | **yes** | **yes** |
| location list | **yes** | **yes** | no | no | **yes** |
| outline | **yes** | **yes** | **yes** | **yes** | **yes** |
| message | **yes** | **yes** | no | no | **yes** |
| quickfix list | **yes** | **yes** | no | **yes** | **yes** |
| resume windows | **yes** | **yes** | no | no | no |
| Feature | unite | denite | leaderf | ctrlp | fzf |
| ------------------ | ----- | ------ | ------- | ----- | --- |
| menu CustomKeyMaps | yes | yes | no | no | no |
| register | yes | yes | no | yes | yes |
| file | yes | yes | yes | yes | yes |
| yank history | yes | yes | no | no | yes |
| jump | yes | yes | no | yes | yes |
| location list | yes | yes | no | no | yes |
| outline | yes | yes | yes | yes | yes |
| message | yes | yes | no | no | yes |
| quickfix list | yes | yes | no | yes | yes |
| resume windows | yes | yes | no | no | no |
**Key bindings within fuzzy finder buffer**

View File

@ -71,6 +71,7 @@ The next release is v0.9.0.
- Fix icon in windows ([#2082](https://github.com/SpaceVim/SpaceVim/pull/2082))
- Fix toggle highlight tail spaces ([#2080](https://github.com/SpaceVim/SpaceVim/pull/2080))
- Fix lsp layer plugin installation ([#2108](https://github.com/SpaceVim/SpaceVim/pull/2108))
- Fix key binding `SPC ?` ([#2109](https://github.com/SpaceVim/SpaceVim/pull/2109))
### Removed