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

https://github.com/mengke-mk/vim-conf

An out-of-box vim-dev image.
https://github.com/mengke-mk/vim-conf

dockerfile neovim vim

Last synced: 4 months ago
JSON representation

An out-of-box vim-dev image.

Awesome Lists containing this project

README

          

## Introduction

This is an out-of-the-box `nvim-dev` image (~1 min to build), contains almost everything you need like LSP-client (coc), LSP-server (ccls), file navigation (nvim-tree), search (greprip, telescope), copilot, git-integration, and other fancy stuffs.
We also maintain a single-file high-quality version in pure Lua to continuously integrate the ever-evolving nvim plugins `init.lua`.

## Usage

To build this `nvim-dev` image:

```
docker build -t nvim-dev:latest -f vim.Dockerfile .
```

Then create a development environment to code, build, and run:

```
docker run -itd --shm-size=16384m \
-v : \
--cap-add=SYS_PTRACE --security-opt seccomp=unconfined \
nvim-dev:latest \
/bin/bash
```

And attach to your `nvim-dev`:

```
docker exec -it -e "TERM=screen-256color" /bin/bash
```