https://github.com/soywod/docker-nvim
Docker vim conf based on Alpine image
https://github.com/soywod/docker-nvim
Last synced: 3 months ago
JSON representation
Docker vim conf based on Alpine image
- Host: GitHub
- URL: https://github.com/soywod/docker-nvim
- Owner: soywod
- Created: 2017-05-30T15:44:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-05T00:05:54.000Z (about 8 years ago)
- Last Synced: 2024-12-15T22:29:09.513Z (10 months ago)
- Language: Shell
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-nvim
Neovim in a docker container.
## Installation
```bash
./build.sh [params]
```Params :
- `-i | --init-file `: Path to your `init.vim` file
- `-p | --plugins-file `: Path to your `plugins` file
- `-n | --image-name `: Docker image name. Default: `soywod/nvim`## Start
### From helper
```bash
./nvim.sh target [params]
```Params :
- `-n | --image-name `: Docker image name. Default: `soywod/nvim`### From docker command
```bash
docker run \
--rm \
-it \
-v ":/root/workdir/" \
""
```## Plugins
To add plugins, create a file named `plugins`, and give its path via the `-p` params to `install.sh`.
Then add on each line the plugin name (the GitHub one).Example of a valid `plugins` file :
```text
tpope/vim-surround
tpope/vim-commentary
editorconfig/editorconfig-vim
pangloss/vim-javascript
rakr/vim-one
flowtype/vim-flow
Shougo/denite.nvim...
```Empty lines will be ignored.
## Tips
- To be able to start nvim via the command `nvim`, an alias is the best:
```bash
alias nvim='/path/to/nvim.sh -i -p -n '
```