2016-12-26 21:11:19 +08:00
|
|
|
" Convenient command to see the difference between the current buffer and the
|
|
|
|
" file it was loaded from, thus the changes you made. Only define it when not
|
|
|
|
" defined already.
|
|
|
|
command! DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
|
|
|
|
\ | wincmd p | diffthis
|
2017-06-26 13:13:50 +08:00
|
|
|
command! -nargs=* -complete=custom,zvim#util#complete_plugs Plugin :call zvim#util#Plugin(<f-args>)
|
2016-12-26 21:11:19 +08:00
|
|
|
"command for open project
|
2017-06-26 13:13:50 +08:00
|
|
|
command! -nargs=+ -complete=custom,zvim#util#complete_project OpenProject :call zvim#util#OpenProject(<f-args>)
|
2017-10-17 00:11:21 +08:00
|
|
|
|
|
|
|
command! -nargs=* -complete=custom,SpaceVim#plugins#pmd#complete PMD :call SpaceVim#plugins#pmd#run(<f-args>)
|
2019-01-06 13:36:33 +08:00
|
|
|
|
|
|
|
command! -nargs=0 A :call SpaceVim#plugins#a#alt()
|