1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:40:06 +08:00

Fix resume key bindings (#1885)

* Fix resume key bindings

* Update following HEAD
This commit is contained in:
Wang Shidong 2018-06-27 21:12:58 +08:00 committed by GitHub
parent adfffa4489
commit 652b710099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,7 @@ function! SpaceVim#layers#denite#config() abort
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)
call SpaceVim#mapping#space#def('nnoremap', ['j', 'i'], 'Denite outline', 'jump to a definition in buffer', 1)
call SpaceVim#mapping#space#def('nnoremap', ['r', 'l'], 'Denite -resume', 'resume denite buffer', 1)
nnoremap <silent> <C-p> :Denite file_rec<cr>
call SpaceVim#mapping#space#def('nnoremap', ['T', 's'], 'Denite colorscheme', 'fuzzy find colorschemes', 1)
let g:_spacevim_mappings.f = {'name' : '+Fuzzy Finder'}

View File

@ -51,6 +51,7 @@ function! SpaceVim#layers#unite#config() abort
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)
call SpaceVim#mapping#space#def('nnoremap', ['f', 'r'], 'Unite file_mru', 'open-recent-file', 1)
call SpaceVim#mapping#space#def('nnoremap', ['r', 'l'], 'Unite resume', 'resume unite buffer', 1)
if has('nvim')
let cmd = 'Unite file_rec/neovim'
else

View File

@ -172,7 +172,6 @@ function! SpaceVim#mapping#space#init() abort
call SpaceVim#mapping#menu('toggle line number', '[SPC]tn', 'setlocal number!')
endif
call extend(g:_spacevim_mappings_prefixs['[SPC]'], get(g:, '_spacevim_mappings_space', {}))
call SpaceVim#mapping#space#def('nnoremap', ['r', 'l'], 'Unite resume', 'resume unite buffer', 1)
" Searching in current buffer
call SpaceVim#mapping#space#def('nnoremap', ['s', 's'], "call SpaceVim#plugins#flygrep#open({'input' : input(\"grep pattern:\"), 'files': bufname(\"%\")})",

View File

@ -21,6 +21,7 @@ The next release is v0.9.0.
### Fixed
- Fix plugins manager, unkown function `term_start` ([#1881](https://github.com/SpaceVim/SpaceVim/pull/1881))
- Fix resume key bindings [#1885](https://github.com/SpaceVim/SpaceVim/pull/1885)
### Removed