Skip to content

Commit

Permalink
Merge pull request chxuan#213 from Titubery/master
Browse files Browse the repository at this point in the history
add some colorshemes and unplug
  • Loading branch information
chxuan authored Nov 21, 2019
2 parents 7def74d + 1c32aac commit 5d1589d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@ if has("gui_running")
set guicursor=n-v-c:ver5 " 设置光标为竖线
endif

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 卸载默认插件Unplug
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
function! s:deregister(repo)
let repo = substitute(a:repo, '[\/]\+$', '', '')
let name = fnamemodify(repo, ':t:s?\.git$??')
call remove(g:plugs, name)
endfunction
command! -nargs=1 -bar Unplug call s:deregister(<args>)

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 插件列表
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Expand Down
1 change: 1 addition & 0 deletions .vimrc.plugins
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
" Plug 'gorodinskiy/vim-coloresque'
" Plug 'vim-scripts/DoxygenToolkit.vim'

" Unplug 'vim-scripts/DoxygenToolkit.vim'
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,11 @@ function copy_files()

mkdir ~/.vim
rm -rf ~/.vim/colors
ln -s ${PWD}/colors ~/.vim
mkdir -p ~/.vim/colors
cp ${PWD}/colors/* ~/.vim/colors/
curl -sLf https://raw.githubusercontent.com/morhetz/gruvbox/master/colors/gruvbox.vim > ~/.vim/colors/gruvbox.vim
curl -sLf https://raw.githubusercontent.com/sjl/badwolf/master/colors/badwolf.vim > ~/.vim/colors/badwolf.vim
curl -sLf https://raw.githubusercontent.com/junegunn/seoul256.vim/master/colors/seoul256.vim > ~/.vim/colors/seoul256.vim

rm -rf ~/.vim/ftplugin
ln -s ${PWD}/ftplugin ~/.vim
Expand Down

0 comments on commit 5d1589d

Please sign in to comment.