Motivation • Available images • Features • How To Use • Configuration • Key bindings • License
This is my personal Neovim configuration that I use for different languages. I've decided to dockerize it in order to make it more portable and easy to use on different machines. Another benefit is that you don't have to install external dependecies on your host machine like Node or Composer as they are bundled in the respective docker containers.
TODO
- sh1d0w/alpine-nvim - Base image with no language specific plugins (doc TODO)
- sh1d0w/nvim-typescript - Fully configured IDE for React/Typescript development (doc TODO)
- sh1d0w/nvim-php - Fully configured IDE for PHP development (doc TODO)
More images will be available soon for PHP, Go, Flutter
First you need to install Docker on your machine. Follow the instructions on the official website to install it for your platform.
After that you can setup bash alias with your prefered IDE. Open ~/.bashrc
or ~/.zshrc
if you are using ZSH and add those lines:
alias ed='f(){ docker run -it --rm -v $(cd $(dirname $1); pwd)/$(basename $1):/home/developer/workspace sh1d0w/nvim-typescript; unset -f f; }; f'
alias ef='f(){ docker run -it --rm -v $(cd $(dirname $1); pwd)/$(basename $1):/home/developer/workspace/$(basename $1) sh1d0w/nvim-typescript; unset -f f; }; f'
Here we are creating two aliases:
ed
- to edit a directory. Usageed /path/to/dir
ef
- to edit a single file. Usageef /path/to/file.txt
Configure themes etc.
TODO
TODO
MIT