1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 11:00:06 +08:00
SpaceVim/autoload/SpaceVim/layers/operator.vim
2017-02-24 23:17:41 +08:00

18 lines
548 B
VimL

""
" @section operator, layer-operator
" @parentsection layers
" With this layer, you can confirm that text is yanked correctly and see
" yanked text by highlighting.
function! SpaceVim#layers#operator#plugins() abort
let plugins = []
call add(plugins, ['kana/vim-operator-user', { 'merged' : 0 }])
call add(plugins, ['haya14busa/vim-operator-flashy', { 'merged' : 0 }])
return plugins
endfunction
function! SpaceVim#layers#operator#config() abort
map y <Plug>(operator-flashy)
nmap Y <Plug>(operator-flashy)$
endfunction