mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:20:03 +08:00
Add g& : repeat last ':s' on all lines
This commit is contained in:
parent
14a3116fc6
commit
e6ca778db7
@ -4,4 +4,7 @@ function! SpaceVim#mapping#g#init() abort
|
||||
let g:_spacevim_mappings_g = {}
|
||||
let g:_spacevim_mappings_g['<C-g>'] = ['call feedkeys("g<c-g>", "n")', 'show cursor info']
|
||||
nnoremap g<c-g> g<c-g>
|
||||
let g:_spacevim_mappings_g['&'] = ['call feedkeys("g&", "n")', 'repeat last ":s" on all lines']
|
||||
nnoremap g& g&
|
||||
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user