govim
所属分类:collect
开发工具:Vim Script
文件大小:0KB
下载次数:0
上传日期:2017-05-20 13:12:50
上 传 者:
sh-1993
说明: golang编辑器,
(golang editor,)
文件列表:
.alias (242, 2017-05-20)
.bashrc (142, 2017-05-20)
.vimrc (5542, 2017-05-20)
.vimrc_background (34, 2017-05-20)
Dockerfile (961, 2017-05-20)
main.go (215, 2017-05-20)
# govim
This repo contains a Dockerfile and supporting files for creating a docker image
that
* Has the latest Go version
* Has the Vim editor with a small set of vim plugins including
- fatih/vim-go
- surround
- syntastic
- nerdtree
This repo also contains an ailas you can use in your `.bashrc` or `.zshrc` for
invoking the container and mounting your current directory under the default
gopath within it.
```
alias govim='
docker run \
-it \
--rm \
-v $(pwd):$(pwd) \
-w $(pwd) \
-v $HOME/.docker:/root/.docker:ro \
-v /var/run/docker.sock:/var/run/docker.sock \
-e "DOCKER_HOST_URL=$DOCKER_HOST" \
scotthelm/govim'
```
近期下载者:
相关文件:
收藏者: