A containerized working environment for the Macs in 42Paris containing:
- neovim (aliased as vim)
- coc-neovim with syntax highlighting, linting with coc-clangd and a custom norminette language server
- git, norminette v2, valgrind, gdb
Prepare to lose all your docker containers. They should be saved if you want to process further. The following procedure makes your .docker be in your sgoinfre, which can be destroyed at any moment by the staff's bots.
mkdir -p /sgoinfre/goinfre/Perso/$USER
mv $HOME/.docker /sgoinfre/goinfre/Perso/$USER/docker
ln -sf /sgoinfre/goinfre/Perso/$USER/docker $HOME/.dockergit clone https://github.com/fyusuf-a/42docker
cd 42docker
docker build -t 42docker . --build-arg USER=$USERdocker run --rm -it -v $PWD:/root/workdir -v $HOME/.gitconfig:/root/.gitconfig -v $HOME/.ssh:/root/.ssh 42dockerdocker run --rm -it -v $PWD:/root/workdir -v $HOME/.gitconfig:/root/.gitconfig -v $HOME/.ssh:/root/.ssh -v $HOME/.vimrc:/root/.vimrc 42dockerIf you want more plugins, you can bind a plugin.vim as such (with a vim-plug syntax) :
docker run --rm -it -v $PWD:/root/workdir -v $HOME/.gitconfig:/root/.gitconfig -v $HOME/.ssh:/root/.ssh -v $HOME/.vimrc:/root/.vimrc -v /path/to/plugin.vim:/root/plugin.vim 42dockerAn example with basic (and awesome!) plugins is given in the example subdirectory of this repository.