Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cloudlena/vide

A containerized IDE powered by NeoVim
https://github.com/cloudlena/vide

go ide javascript neovim rust typescript vim

Last synced: about 2 months ago
JSON representation

A containerized IDE powered by NeoVim

Awesome Lists containing this project

README

        

# Vide

[![Docker Build](https://img.shields.io/docker/cloud/build/cloudlena/vide.svg?style=flat-square)](https://hub.docker.com/r/cloudlena/vide)
![Docker Pulls](https://img.shields.io/docker/pulls/cloudlena/vide.svg?style=flat-square)

A containerized IDE powered by [NeoVim](https://neovim.io/).

This container is filled with all the good stuff from [my Vim config](https://github.com/cloudlena/dotfiles/). It contains a full "IDE" and is optimized for editing [Go](https://golang.org), [Rust](https://www.rust-lang.org), [JavaScript](https://en.wikipedia.org/wiki/JavaScript), [TypeScript](https://www.typescriptlang.org), [Markdown](https://en.wikipedia.org/wiki/Markdown) and [shell scripts](https://en.wikipedia.org/wiki/Shell_script).

## Usage

By default, the container-internal `/src` directory will be opened. You'll therefore have to mount your project into there:

```shell
$ docker run --rm -it -v "${PWD}:/src" cloudlena/vide
```

## Caveats

### Docker Detach keys

`ctrl + p` triggers a fuzzy search for files. Since this key binding is already used in Docker for detaching from containers, you'll have to press it twice to trigger the fuzzy search. To mitigate this, simply add the following line to your `~/.docker.config.json` to change the default keys:

```json
"detachKeys": "ctrl-e,e"
```

### Resources

Some async jobs like linting JavaScript can be rather resource intensive. If the containers feels slow, consider giving Docker more memory ;-)