mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 13:40:06 +08:00
20 lines
535 B
Plaintext
20 lines
535 B
Plaintext
set nocompatible
|
|
|
|
" load match-up (and commentary)
|
|
for s:loc in ['bundle', 'plugged']
|
|
let &rtp = '~/.vim/'.s:loc.'/vim-matchup,' . &rtp
|
|
let &rtp .= ',~/.vim/'.s:loc.'/vim-matchup/after'
|
|
let &rtp = '~/.vim/'.s:loc.'/vim-commentary,' . &rtp
|
|
let &rtp .= ',~/.vim/'.s:loc.'/vim-commentary/after'
|
|
endfor
|
|
|
|
" load other plugins, if necessary
|
|
" let &rtp = '~/path/to/other/plugin,' . &rtp
|
|
|
|
filetype plugin indent on
|
|
syntax enable
|
|
|
|
" match-up options go here
|
|
let g:matchup_text_obj_linewise_operators = ['d', 'y', 'g@', ':']
|
|
|