1 Star 0 Fork 1

wangliangfmail / yvim.git

forked from zhukwxy / yvim.git 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dpkginst.sh 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
root 提交于 2020-12-10 12:21 . vim
#!/bin/bash
curDir=`pwd`
#下载git
#{{{
existGit=`which git`
if [ -z "$existGit" ] ; then
sudo apt-get install git -y
fi
#}}}
#下载依赖
#{{{
sudo apt-get install python3 python3-dev python python-dev cmake build-essential -y
sudo apt-get install ctags cscope nodejs node-util libncurses-dev libx11-dev libxt-dev -y
#}}}
#安装vim配置
#{{{
cp ./dpkg.vimrc ~/.vimrc
cp vim ~/.vim -rf
chmod 777 ~/.vim/cscope/*
#}}}
#安装YCM
#{{{
cd ~/.vim/plugged
cat YouCompleteMe.tar.gza* | tar -xvz
cd ~/.vim/plugged/YouCompleteMe
./install.py --clangd-completer
#}}}
#安装vim
#{{{
sudo apt autoremove vim -y
tar -xzvf $curDir/src/vim-8.2.0695.tar.gz -C $curDir/src
cd $curDir/src/vim-8.2.0695
./configure --with-features=huge --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-python3interp=yes --enable-luainterp=yes --enable-multibyte --with-python-command=python2 --with-python3-command=python3 --enable-cscope --enable-gtk2-check --enable-gnome-check --enable-gtk3-check --enable-motif-check --prefix=/usr --with-x --enable-largefile
make -j4
sudo make install
rm -rf $curDir/src/vim-8.2.0695
#}}}
#安装qtcreator
#{{{
sudo apt-get install qt5-default qtcreator gdb -y
sudo apt-get install manpages-dev manpages-posix manpages-posix-dev manpages
#}}}
#安装cmake帮助手册
#{{{
cd $curDir
sudo cp ./resources/dpkg/CMake.qch /usr/share/qtcreator/doc
assistant -register /usr/share/qtcreator/doc/CMake.qch
cp ./resources/dpkg/org.qt-project.assistant.desktop ~/Desktop
#}}}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangliangfmail/yvim.git
git@gitee.com:wangliangfmail/yvim.git
wangliangfmail
yvim
yvim.git
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891