mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 20:20:05 +08:00
Add textobjs
This commit is contained in:
parent
053e2b407c
commit
f21e0ea869
@ -4,6 +4,10 @@ function! SpaceVim#layers#edit#plugins() abort
|
||||
\ ['junegunn/vim-emoji'],
|
||||
\ ['terryma/vim-multiple-cursors'],
|
||||
\ ['terryma/vim-expand-region', { 'loadconf' : 1}],
|
||||
\ ['kana/vim-textobj-user'],
|
||||
\ ['kana/vim-textobj-indent'],
|
||||
\ ['kana/vim-textobj-line'],
|
||||
\ ['kana/vim-textobj-entire'],
|
||||
\ ['scrooloose/nerdcommenter'],
|
||||
\ ['mattn/emmet-vim', { 'on_cmd' : 'EmmetInstall'}],
|
||||
\ ['gcmt/wildfire.vim',{'on_map' : '<Plug>(wildfire-'}],
|
||||
|
@ -1,2 +1,15 @@
|
||||
xmap v <Plug>(expand_region_expand)
|
||||
xmap V <Plug>(expand_region_shrink)
|
||||
let g:expand_region_text_objects = {
|
||||
\ 'iw' :0,
|
||||
\ 'iW' :0,
|
||||
\ 'i"' :0,
|
||||
\ 'i''' :0,
|
||||
\ 'i]' :1,
|
||||
\ 'ib' :1,
|
||||
\ 'iB' :1,
|
||||
\ 'il' :1,
|
||||
\ 'ii' :1,
|
||||
\ 'ip' :0,
|
||||
\ 'ie' :0,
|
||||
\ }
|
||||
|
Loading…
Reference in New Issue
Block a user