2018-01-31 14:28:46 +08:00
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact () {
|
2018-05-01 21:42:57 +08:00
|
|
|
|
cp -f ../../$1 $1
|
2018-01-31 14:28:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact_bundle () {
|
2022-05-01 17:16:03 +08:00
|
|
|
|
cp -f ../../bundle/$1/$2 $2
|
2022-05-01 16:40:45 +08:00
|
|
|
|
}
|
|
|
|
|
|
2018-01-31 14:28:46 +08:00
|
|
|
|
_checkdir () {
|
2018-05-01 21:42:57 +08:00
|
|
|
|
if [[ ! -d "$1" ]]; then
|
|
|
|
|
mkdir -p $1
|
|
|
|
|
fi
|
2018-01-31 14:28:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-12 13:51:44 +08:00
|
|
|
|
_default_readme () {
|
|
|
|
|
cat <<EOT > README.md
|
|
|
|
|
# $1
|
|
|
|
|
> $2
|
|
|
|
|
|
|
|
|
|
This plugin is automatically detach from [SpaceVim](https://github.com/SpaceVim/SpaceVim/). you can use it without SpaceVim.
|
|
|
|
|
EOT
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2018-01-31 14:28:46 +08:00
|
|
|
|
main () {
|
2018-05-01 21:42:57 +08:00
|
|
|
|
case "$1" in
|
|
|
|
|
flygrep)
|
|
|
|
|
git clone https://github.com/wsdjeg/FlyGrep.vim.git detach/$1
|
|
|
|
|
cd detach/$1
|
2018-12-17 07:57:24 +08:00
|
|
|
|
_checkdir syntax/
|
2018-05-01 21:42:57 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/api
|
|
|
|
|
_checkdir autoload/SpaceVim/api/vim
|
2019-05-27 20:15:30 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/api/neovim
|
2018-05-25 21:20:49 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/api/data
|
2018-05-01 21:42:57 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/mapping
|
|
|
|
|
_checkdir autoload/SpaceVim/plugins
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact autoload/SpaceVim/plugins/flygrep.vim
|
|
|
|
|
_detact autoload/SpaceVim/api.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/logger.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/buffer.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/regex.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/compatible.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/floating.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/highlight.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/statusline.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/window.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/neovim/floating.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/data/dict.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/data/list.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/data/json.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/data/string.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/prompt.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/job.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/file.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/system.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/time.vim
|
|
|
|
|
_detact autoload/SpaceVim/mapping/search.vim
|
|
|
|
|
_detact autoload/SpaceVim/logger.vim
|
2023-06-27 08:20:14 +08:00
|
|
|
|
# detach lua version flygrep
|
|
|
|
|
_checkdir lua/spacevim/api
|
|
|
|
|
_checkdir lua/spacevim/api/vim
|
|
|
|
|
_checkdir lua/spacevim/plugin
|
|
|
|
|
_detact lua/spacevim/plugin/flygrep.lua
|
2023-06-27 17:04:45 +08:00
|
|
|
|
_detact lua/spacevim/plugin/search.lua
|
2022-08-31 00:37:45 +08:00
|
|
|
|
_detact lua/spacevim.lua
|
2023-06-27 08:20:14 +08:00
|
|
|
|
_detact lua/spacevim/logger.lua
|
2022-08-31 00:37:45 +08:00
|
|
|
|
_detact lua/spacevim/api.lua
|
|
|
|
|
_detact lua/spacevim/api/logger.lua
|
2023-06-27 08:20:14 +08:00
|
|
|
|
_detact lua/spacevim/api/prompt.lua
|
2023-06-27 18:06:34 +08:00
|
|
|
|
_detact lua/spacevim/api/notify.lua
|
|
|
|
|
_detact lua/spacevim/api/password.lua
|
2023-06-27 08:20:14 +08:00
|
|
|
|
_detact lua/spacevim/api/vim.lua
|
|
|
|
|
_detact lua/spacevim/api/system.lua
|
|
|
|
|
_detact lua/spacevim/api/vim/compatible.lua
|
|
|
|
|
_detact lua/spacevim/api/vim/highlight.lua
|
|
|
|
|
_detact lua/spacevim/api/vim/regex.lua
|
|
|
|
|
_detact lua/spacevim/api/vim/keys.lua
|
|
|
|
|
_detact lua/spacevim/api/vim/buffer.lua
|
|
|
|
|
_detact lua/spacevim/api/vim/window.lua
|
|
|
|
|
_detact lua/spacevim/api/vim/statusline.lua
|
|
|
|
|
# detach syntax/ftplugin etc
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact syntax/SpaceVimFlyGrep.vim
|
2023-06-27 08:20:14 +08:00
|
|
|
|
# detach bundle
|
2023-06-22 23:01:54 +08:00
|
|
|
|
_checkdir plugin
|
|
|
|
|
_detact_bundle FlyGrep plugin/FlyGrep.vim
|
2023-06-27 08:20:14 +08:00
|
|
|
|
_detact_bundle FlyGrep README.md
|
2023-06-22 23:01:54 +08:00
|
|
|
|
_detact_bundle FlyGrep addon-info.json
|
|
|
|
|
_checkdir doc/
|
|
|
|
|
_detact_bundle FlyGrep doc/FlyGrep.txt
|
2023-06-27 08:20:14 +08:00
|
|
|
|
# detach LICENSE
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact LICENSE
|
2023-06-27 08:25:47 +08:00
|
|
|
|
# detach test vimrc
|
|
|
|
|
_checkdir test
|
|
|
|
|
_detact_bundle FlyGrep test/vimrc
|
2018-05-01 21:42:57 +08:00
|
|
|
|
git add .
|
2019-07-09 23:14:35 +08:00
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
2023-06-22 23:01:54 +08:00
|
|
|
|
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
2018-05-01 21:42:57 +08:00
|
|
|
|
git remote add wsdjeg_flygrep https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/FlyGrep.vim.git
|
|
|
|
|
git push wsdjeg_flygrep master
|
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
|
|
|
|
dein-ui)
|
|
|
|
|
git clone https://github.com/wsdjeg/dein-ui.vim.git detach/$1
|
|
|
|
|
cd detach/$1
|
2018-12-16 22:31:40 +08:00
|
|
|
|
_checkdir syntax/
|
2018-05-01 21:42:57 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/api
|
2018-05-01 21:54:49 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/api/data
|
2018-05-01 21:42:57 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/api/vim
|
|
|
|
|
_checkdir autoload/SpaceVim/mapping
|
|
|
|
|
_checkdir autoload/SpaceVim/plugins
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact autoload/SpaceVim/plugins/manager.vim
|
|
|
|
|
_detact autoload/SpaceVim/api.vim
|
|
|
|
|
_detact autoload/SpaceVim/commands.vim
|
|
|
|
|
_detact autoload/SpaceVim/logger.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/job.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/system.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/data/list.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/compatible.vim
|
|
|
|
|
_detact syntax/SpaceVimPlugManager.vim
|
|
|
|
|
_detact LICENSE
|
2018-05-01 21:42:57 +08:00
|
|
|
|
git add .
|
2019-07-09 23:14:35 +08:00
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
2023-06-22 23:01:54 +08:00
|
|
|
|
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
2018-05-01 21:54:49 +08:00
|
|
|
|
git remote add wsdjeg_dein_ui https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/dein-ui.vim.git
|
|
|
|
|
git push wsdjeg_dein_ui master
|
2018-05-01 21:42:57 +08:00
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
2019-09-12 13:51:44 +08:00
|
|
|
|
iedit)
|
|
|
|
|
git clone https://github.com/wsdjeg/iedit.vim.git detach/$1
|
|
|
|
|
cd detach/$1
|
|
|
|
|
_checkdir autoload/SpaceVim/api/vim
|
|
|
|
|
_checkdir autoload/SpaceVim/api/data
|
|
|
|
|
_checkdir autoload/SpaceVim/plugins
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact autoload/SpaceVim/api.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/compatible.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/highlight.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/data/string.vim
|
|
|
|
|
_detact autoload/SpaceVim/plugins/iedit.vim
|
2019-09-12 13:51:44 +08:00
|
|
|
|
_checkdir autoload/plugin
|
|
|
|
|
cat <<EOT > autoload/plugin/iedit.vim
|
|
|
|
|
"=============================================================================
|
|
|
|
|
" iedit.vim --- multiple cursor support for neovim and vim
|
2022-06-12 15:37:35 +08:00
|
|
|
|
" Copyright (c) 2016-2022 Shidong Wang & Contributors
|
2022-03-27 13:38:54 +08:00
|
|
|
|
" Author: Shidong Wang < wsdjeg@outlook.com >
|
2019-09-12 13:51:44 +08:00
|
|
|
|
" URL: https://github.com/wsdjeg/iedit.vim
|
|
|
|
|
" License: MIT license
|
|
|
|
|
"=============================================================================
|
|
|
|
|
|
|
|
|
|
""
|
|
|
|
|
" @section Introduction, intro
|
|
|
|
|
" @stylized iedit.vim
|
|
|
|
|
" @library
|
|
|
|
|
" @order intro version dicts functions exceptions layers api faq
|
|
|
|
|
" multiple cursor in vim, written in pure vim script for MacVim, gvim and vim version
|
|
|
|
|
" 8.0+.
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
command! -nargs=0 Iedit call SpaceVim#plugins#iedit#start()
|
|
|
|
|
EOT
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact LICENSE
|
2019-09-12 13:51:44 +08:00
|
|
|
|
_default_readme "iedit.vim" "multiple cussor support for Vim/Neovim"
|
|
|
|
|
git add .
|
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
|
|
|
|
git commit -m "Auto Update"
|
|
|
|
|
git remote add wsdjeg_vim_todo https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/iedit.vim.git
|
|
|
|
|
git push wsdjeg_vim_todo master
|
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
2019-07-11 19:00:59 +08:00
|
|
|
|
vim-todo)
|
2019-07-11 22:03:07 +08:00
|
|
|
|
git clone https://github.com/wsdjeg/vim-todo.git detach/$1
|
2019-07-11 19:00:59 +08:00
|
|
|
|
cd detach/$1
|
|
|
|
|
_checkdir syntax/
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact syntax/SpaceVimTodoManager.vim
|
2019-07-11 19:00:59 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/api/vim
|
2019-07-12 08:54:13 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/api/data
|
2019-07-11 19:00:59 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/plugins
|
2020-08-31 21:58:59 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/mapping
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact autoload/SpaceVim/api.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/logger.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/job.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/system.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/data/string.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/file.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/buffer.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/regex.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/compatible.vim
|
|
|
|
|
_detact autoload/SpaceVim/logger.vim
|
|
|
|
|
_detact autoload/SpaceVim/mapping/search.vim
|
|
|
|
|
_detact autoload/SpaceVim/plugins/todo.vim
|
2020-10-15 22:41:48 +08:00
|
|
|
|
_checkdir plugin
|
|
|
|
|
cat <<EOT > plugin/todo.vim
|
|
|
|
|
"=============================================================================
|
|
|
|
|
" todo.vim --- todo manager for SpaceVim
|
2023-03-26 13:44:47 +08:00
|
|
|
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
2022-03-27 13:38:54 +08:00
|
|
|
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
2020-10-15 22:41:48 +08:00
|
|
|
|
" URL: https://spacevim.org
|
|
|
|
|
" License: GPLv3
|
|
|
|
|
"=============================================================================
|
|
|
|
|
|
|
|
|
|
command! OpenTodo call todo#open()
|
|
|
|
|
EOT
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact LICENSE
|
2019-07-11 19:00:59 +08:00
|
|
|
|
git add .
|
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
|
|
|
|
git commit -m "Auto Update"
|
2019-07-11 22:03:07 +08:00
|
|
|
|
git remote add wsdjeg_vim_todo https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/vim-todo.git
|
2019-07-11 19:00:59 +08:00
|
|
|
|
git push wsdjeg_vim_todo master
|
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
2022-05-01 16:40:45 +08:00
|
|
|
|
vim-chat)
|
|
|
|
|
git clone https://github.com/wsdjeg/vim-chat.git detach/$1
|
|
|
|
|
cd detach/$1
|
2022-10-25 23:32:10 +08:00
|
|
|
|
_detact LICENSE
|
|
|
|
|
_checkdir autoload/SpaceVim/api
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact autoload/SpaceVim/api.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/job.vim
|
2022-10-25 23:32:10 +08:00
|
|
|
|
_checkdir autoload/chat/
|
2022-05-01 17:16:03 +08:00
|
|
|
|
_detact_bundle vim-chat autoload/chat.vim
|
|
|
|
|
_detact_bundle vim-chat autoload/chat/gitter.vim
|
|
|
|
|
_detact_bundle vim-chat autoload/chat/logger.vim
|
|
|
|
|
_detact_bundle vim-chat autoload/chat/notify.vim
|
|
|
|
|
_detact_bundle vim-chat autoload/chat/qq.vim
|
|
|
|
|
_detact_bundle vim-chat autoload/chat/weixin.vim
|
2022-10-25 23:32:10 +08:00
|
|
|
|
_checkdir doc/
|
2022-05-01 17:16:03 +08:00
|
|
|
|
_detact_bundle vim-chat doc/vim-chat.txt
|
2022-10-25 23:32:10 +08:00
|
|
|
|
_checkdir syntax/
|
2022-05-01 17:16:03 +08:00
|
|
|
|
_detact_bundle vim-chat syntax/vimchat.vim
|
|
|
|
|
_detact_bundle vim-chat addon-info.json
|
|
|
|
|
_detact_bundle vim-chat README.md
|
2022-05-01 16:40:45 +08:00
|
|
|
|
git add .
|
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
2022-10-25 23:32:10 +08:00
|
|
|
|
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
2022-05-01 16:40:45 +08:00
|
|
|
|
git remote add wsdjeg_vim_chat https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/vim-chat.git
|
|
|
|
|
git push wsdjeg_vim_chat master
|
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
2023-04-29 21:36:11 +08:00
|
|
|
|
JavaUnit.vim)
|
|
|
|
|
git clone https://github.com/wsdjeg/JavaUnit.vim.git detach/$1
|
|
|
|
|
cd detach/$1
|
|
|
|
|
# _detact LICENSE
|
|
|
|
|
# _checkdir autoload/SpaceVim/api
|
|
|
|
|
# _detact autoload/SpaceVim/api.vim
|
|
|
|
|
# _detact autoload/SpaceVim/api/job.vim
|
|
|
|
|
# _checkdir autoload/chat/
|
|
|
|
|
_detact_bundle JavaUnit.vim README.md
|
|
|
|
|
git add .
|
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
|
|
|
|
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
|
|
|
|
git remote add wsdjeg_javaunit_vim https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/JavaUnit.vim.git
|
|
|
|
|
git push wsdjeg_javaunit_vim master
|
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
2023-04-29 22:29:21 +08:00
|
|
|
|
git.vim)
|
|
|
|
|
git clone https://github.com/wsdjeg/git.vim.git detach/$1
|
|
|
|
|
cd detach/$1
|
|
|
|
|
_checkdir autoload/SpaceVim/api
|
|
|
|
|
_detact autoload/SpaceVim/api.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/job.vim
|
|
|
|
|
_detact_bundle git.vim LICENSE
|
|
|
|
|
_detact_bundle git.vim README.md
|
|
|
|
|
_detact_bundle git.vim addon-info.json
|
|
|
|
|
_checkdir autoload/git/branch
|
|
|
|
|
_detact_bundle git.vim autoload/git.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/add.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/blame.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/branch.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/branch/manager.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/checkout.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/cherry_pick.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/clean.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/commit.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/config.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/diff.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/fetch.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/log.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/logger.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/merge.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/mv.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/pull.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/push.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/rebase.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/reflog.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/remote.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/reset.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/rm.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/stash.vim
|
|
|
|
|
_detact_bundle git.vim autoload/git/status.vim
|
|
|
|
|
_checkdir doc
|
|
|
|
|
_detact_bundle git.vim doc/git.txt
|
|
|
|
|
_checkdir plugin
|
|
|
|
|
_detact_bundle git.vim plugin/git.vim
|
|
|
|
|
_checkdir syntax
|
|
|
|
|
_detact_bundle git.vim syntax/git-blame.vim
|
|
|
|
|
_detact_bundle git.vim syntax/git-commit.vim
|
|
|
|
|
_detact_bundle git.vim syntax/git-config.vim
|
|
|
|
|
_detact_bundle git.vim syntax/git-log.vim
|
|
|
|
|
_detact_bundle git.vim syntax/git-rebase.vim
|
|
|
|
|
_detact_bundle git.vim syntax/git-reflog.vim
|
2023-07-02 14:00:13 +08:00
|
|
|
|
_checkdir test
|
|
|
|
|
_detact_bundle git.vim test/vimrc
|
2023-04-29 22:29:21 +08:00
|
|
|
|
git add .
|
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
|
|
|
|
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
|
|
|
|
git remote add wsdjeg_git_vim https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/git.vim.git
|
|
|
|
|
git push wsdjeg_git_vim master
|
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
2022-10-25 22:51:17 +08:00
|
|
|
|
vim-cheat)
|
|
|
|
|
git clone https://github.com/wsdjeg/vim-cheat.git detach/$1
|
|
|
|
|
cd detach/$1
|
|
|
|
|
_checkdir plugin/
|
|
|
|
|
_checkdir autoload/
|
|
|
|
|
_detact LICENSE
|
|
|
|
|
_detact_bundle vim-cheat autoload/cheat.vim
|
|
|
|
|
_detact_bundle vim-cheat plugin/cheat.vim
|
|
|
|
|
_detact_bundle vim-cheat README.md
|
|
|
|
|
_detact_bundle vim-cheat .travis.yml
|
|
|
|
|
_detact_bundle vim-cheat .vintrc.yaml
|
2022-10-25 23:59:26 +08:00
|
|
|
|
_checkdir doc/
|
|
|
|
|
_detact_bundle vim-cheat doc/vim-cheat.txt
|
2022-10-25 22:51:17 +08:00
|
|
|
|
git add .
|
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
2022-10-25 23:32:10 +08:00
|
|
|
|
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
2023-03-30 10:05:26 +08:00
|
|
|
|
git remote add wsdjeg_vim_cheat https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/vim-cheat.git
|
|
|
|
|
git push wsdjeg_vim_cheat master
|
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
|
|
|
|
xmake.vim)
|
|
|
|
|
git clone https://github.com/wsdjeg/xmake.vim.git detach/$1
|
|
|
|
|
cd detach/$1
|
|
|
|
|
_checkdir plugin/
|
|
|
|
|
_detact_bundle xmake.vim plugin/xmake.vim
|
|
|
|
|
_detact_bundle xmake.vim plugin/xmgen.py
|
|
|
|
|
_checkdir autoload/
|
|
|
|
|
_detact_bundle xmake.vim autoload/xmake.vim
|
|
|
|
|
_detact_bundle xmake.vim autoload/spy.lua
|
|
|
|
|
_detact LICENSE
|
2023-03-30 10:17:49 +08:00
|
|
|
|
_default_readme "xmake.vim" "xmake support for neovim/vim"
|
2023-03-30 10:05:26 +08:00
|
|
|
|
_checkdir autoload/xmake/
|
|
|
|
|
_detact_bundle xmake.vim autoload/xmake/log.vim
|
|
|
|
|
_checkdir doc/
|
|
|
|
|
_detact_bundle xmake.vim doc/xmake.txt
|
|
|
|
|
_checkdir UltiSnips/
|
|
|
|
|
_detact_bundle xmake.vim UltiSnips/lua.snippets
|
|
|
|
|
_checkdir rplugin/python3/deoplete/sources/docs/
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/xmake.py
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_defines
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_defines
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_deps
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_files
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_headers
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_includedirs
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_linkdirs
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_links
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/add_subdirs
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/is_os
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/is_plat
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_basename
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_headerdir
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_kind
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_languages
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_objectdir
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_optimize
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_project
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_strip
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_symbols
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_targetdir
|
|
|
|
|
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_warnings
|
|
|
|
|
git add .
|
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
|
|
|
|
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
|
|
|
|
git remote add wsdjeg_xmake_vim https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/xmake.vim.git
|
|
|
|
|
git push wsdjeg_xmake_vim master
|
2022-10-25 22:51:17 +08:00
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
2020-09-22 23:11:37 +08:00
|
|
|
|
scrollbar.vim)
|
|
|
|
|
git clone https://github.com/wsdjeg/scrollbar.vim.git detach/$1
|
|
|
|
|
cd detach/$1
|
|
|
|
|
_checkdir autoload/SpaceVim/api/
|
2022-04-02 22:59:31 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/api/vim
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact autoload/SpaceVim/api.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/buffer.vim
|
|
|
|
|
_detact autoload/SpaceVim/api/vim/window.vim
|
2022-04-02 22:59:31 +08:00
|
|
|
|
_checkdir autoload/SpaceVim/plugins/
|
2022-05-01 16:40:45 +08:00
|
|
|
|
_detact autoload/SpaceVim/plugins/scrollbar.vim
|
|
|
|
|
_detact LICENSE
|
2020-09-22 23:11:37 +08:00
|
|
|
|
_default_readme "scrollbar.vim" "floating scrollbar support for neovim/vim[wip]"
|
|
|
|
|
git add .
|
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
2022-10-25 23:32:10 +08:00
|
|
|
|
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
2020-09-22 23:11:37 +08:00
|
|
|
|
git remote add wsdjeg_scrollbar https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/scrollbar.vim.git
|
|
|
|
|
git push wsdjeg_scrollbar master
|
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
2023-03-31 13:32:08 +08:00
|
|
|
|
github.vim)
|
|
|
|
|
git clone https://github.com/wsdjeg/GitHub.vim.git detach/$1
|
|
|
|
|
cd detach/$1
|
|
|
|
|
_checkdir plugin/
|
|
|
|
|
_checkdir autoload/
|
|
|
|
|
_detact LICENSE
|
|
|
|
|
_detact_bundle github.vim autoload/github.vim
|
|
|
|
|
_detact_bundle github.vim plugin/github.vim
|
|
|
|
|
_default_readme "GitHub.vim" "GitHub API support for neovim/vim[wip]"
|
|
|
|
|
_checkdir doc/
|
|
|
|
|
_detact_bundle github doc/github.txt
|
|
|
|
|
git add .
|
|
|
|
|
git config user.email "wsdjeg@qq.com"
|
|
|
|
|
git config user.name "SpaceVimBot"
|
|
|
|
|
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
|
|
|
|
git remote add wsdjeg_github_vim https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/GitHub.vim.git
|
|
|
|
|
git push wsdjeg_github_vim master
|
|
|
|
|
cd -
|
|
|
|
|
rm -rf detach/$1
|
|
|
|
|
exit 0
|
|
|
|
|
;;
|
2018-05-01 21:42:57 +08:00
|
|
|
|
spacevim-theme)
|
|
|
|
|
exit 0
|
|
|
|
|
esac
|
2018-01-31 14:28:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
main $@
|