1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-14 23:49:19 +08:00

style(incsearch): unique key binding description style

This commit is contained in:
Shidong Wang 2021-10-16 11:24:31 +08:00
parent 4e0f352961
commit ea07a88be4
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848

View File

@ -84,9 +84,9 @@ function! SpaceVim#layers#incsearch#config() abort
\ }), get(a:, 1, {}))
endfunction
let lnum = expand('<slnum>') + s:lnum - 1
call SpaceVim#mapping#space#def('nmap', ['b', '/'], '<Plug>(incsearch-fuzzyword-/)', ['fuzzy find word',
call SpaceVim#mapping#space#def('nmap', ['b', '/'], '<Plug>(incsearch-fuzzyword-/)', ['fuzzy-find-word',
\ [
\ '[SPC b /] is fuzzy find word in current buffer',
\ '[SPC b /] is to fuzzy find word in current buffer',
\ '',
\ 'Definition: ' . s:filename . ':' . lnum,
\ ]