Use: 1
中文字体(尤其登陆远端服务器)
sudo locale-gen zh_CN.UTF-8 sudo locale -a | grep "zh"
下载SimHei.ttf: https://pan.baidu.com/s/15iwAcVLCdOnCgRRZ1rtauQ 提取码: mpts
mkdir -p ~/.fonts mv SimHei.ttf ~/.fonts fc-cache -vf # 刷新系统字体缓存
要求vim版本:vim8.0 or high
管理插件: git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
安装插件: Open vim, 执行:PluginInstall
cd bundle/vimproc.vim; make -f make_unix.mk
保证系统clang版本3.9 or high 某些库下载 链接: https://pan.baidu.com/s/1jid3TQMpDw3r1I0Nn57xcA 提取码: jiu6 git submodule sync git submodule update --init --recursive python3 ./install.py --clangd-completer --clang-completer --go-completer --ts-completer --java-completer
jedi补全sudo pip3 install -U jedi git clone https://github.com/davidhalter/jedi sudo python setup.py install or (推荐) sudo pip3 install -e git://github.com/davidhalter/jedi.git#egg=jedi
安装numpydoc: sudo apt-get install python-numpydoc sudo apt-get install python3-numpydoc (ubuntu16)
补全(某些)时有个错误: docscrape.py:140: UserWarning: Unknown section Note 打开文件加一个"Note" Section
使用universal-ctags, https://github.com/universal-ctags/ctags 下载编译
使用markdown, 并根据对应的配置里面的说明进行修改
npm -g install instant-markdown-d
Js
cd bundle/tern_for_vim; npm install
sudo npm i -g eslint eslint-plugin-vue
fzf 把export FZF_DEFAULT_OPTS="--bind='ctrl-o:execute(vim {})'" 放到~/.fzf.bash cd ./bundle/fzf/; ./install --all sudo apt-get install silversearcher-ag
sudo apt-get install ripgrep (ubuntu18.10) or git clone https://github.com/BurntSushi/ripgrep cd ripgrep ; cargo build --release; ./target/release/rg --version or cargo install ripgrep (推荐)
see extern/README.md
LeaderF cd ./bundle/LeaderF; ./install.sh
jupyter
sudo pip3 install -U \
jupyter \
jupyter_contrib_nbextensions \
jupyter_nbextensions_configurator \
-i https://pypi.tuna.tsinghua.edu.cn/simple
sudo pip3 install -U jupyterthemes (可选)
sudo pip3 install -U ipywidgets
sudo jupyter contrib nbextension install --sys-prefix
sudo jupyter nbextensions_configurator enable
# Now clone the repository
cd $(jupyter --data-dir)/nbextensions
git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding
chmod -R go-w vim_binding
jupyter nbextension enable vim_binding/vim_binding
jupyter nbextension enable --py widgetsnbextension
配置jupyter
jupyter notebook --generate-config
jupyter notebook password
语法检查
sudo apt-get install pyflakes sudo apt-get install python-flake8 (推荐)
数学公式
sudo apt-get install texlive
画动物
sudo apt-get install boxes
jsonnet
编译安装: https://github.com/google/jsonnet make -j4; sudo make install sudo pip3 install jsonnet
gotags (go install: https://golang.google.cn/doc/install)
go get -u github.com/jstemmer/gotags
Gtk-Message: Failed to load module "canberra-gtk-module"
sudo apt install libcanberra-gtk-module
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
https://stackoverflow.com/questions/38378914/git-error-rpc-failed-curl-56-gnutls
export GIT_TRACE_PACKET=1; export GIT_TRACE=1; export GIT_CURL_VERBOSE=1 git config --global http.postBuffer 524288000
git clone --depth=1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。