A neovim based golang ide
docker build -t go-vim-ide:latest .
Its recommended that you create an alias to run this easily. Add the following to your shell rc file (ie .bashrc)
alias nvim='docker run -it --rm -v ${PWD}:${PWD}:z -w ${PWD} go-vim-ide:latest'
or source the setAlias.sh
script
source setAlias.sh
Launch the container, enjoy the environment.
nvim README.md
- The terminal and neovim are two different tmux windows, use
ctrl-b (up|down)
to move between them - The file tree and editor window are two different vim panes, use
ctrl-w (left|right)
to move between them
To exit, either exit vim and tmux or kill the tmux session ctrl-b + :kill-session
. (kill-session can be shortened to kill-ses)