必备条件
- Linux系统
- Go语言运行时
- SpaceVim安装包
SpaceVim和Vim并存
- 安装SpaceVim
curl -sLf https://spacevim.org/install.sh | bash
- 卸载,并不会实际删除SpaceVim
curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall
- 在.bashrc中,增加
alias svim='vim -u ~/.SpaceVim/vimrc'
- 使用svim启动SpaceVim
加入对Golang的支持
- 进入.SpaceVim.d目录,在Init.toml中加入
[[layers]] name = 'lang#go'
- 保存,启动,OK了
踩过的坑
- 配置文件不在.SpaceVim目录
- 配置文件的具体路径,官方只字未提,浪费我2个小时,嚓!
参考
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Introduction to the Design and Analysis of Algorithms
Anany Levitin / Addison Wesley / 2006-2-24 / USD 122.00
Based on a Based on a new classification of algorithm design techniques and a clear delineation of analysis methods, "Introduction to the Design and Analysis of Algorithms" presents the subject in a c......一起来看看 《Introduction to the Design and Analysis of Algorithms》 这本书的介绍吧!