1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:30:04 +08:00
SpaceVim/config/commands.vim

13 lines
790 B
VimL
Raw Normal View History

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
command! -nargs=* -complete=custom,SpaceVim#plugins#complete_plugs Plugin :call SpaceVim#plugins#Plugin(<f-args>)
2016-12-26 21:11:19 +08:00
"command for open project
command! -nargs=+ -complete=custom,SpaceVim#plugins#projectmanager#complete_project OpenProject :call SpaceVim#plugins#projectmanager#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
2020-01-28 16:10:31 +08:00
command! -nargs=? -complete=custom,SpaceVim#plugins#a#complete A :call SpaceVim#plugins#a#alt(<f-args>)