必备条件
- 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个小时,嚓!
参考
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- Go语言环境配置
- Go语言(一)----安装与配置
- 基于JavaScript的配置语言——nginScript
- 基于JavaScript的配置语言——nginScript
- vscode-配置go语言开发环境
- Golang 语言怎么使用 Viper 管理配置信息?
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Visual Thinking
Colin Ware / Morgan Kaufmann / 2008-4-18 / USD 49.95
Increasingly, designers need to present information in ways that aid their audiences thinking process. Fortunately, results from the relatively new science of human visual perception provide valuable ......一起来看看 《Visual Thinking》 这本书的介绍吧!