GameDev addons to your NeoVim config.
Requires already existing NeoVim.
If you are new to NeoVim, a good starting point could be one of the following configs:
After NeoVim setup is complete, jump to Setup section.
To embrace the full god-like power of NeoVim, it is recommended to setup at least csharp_ls LSP and netcoredbg debugger.
- Clone this repo to your existing NeoVim directory.
git clone https://github.com/dbobrenko/nvim-gamedev ~/.config/nvim/gamedev
- Install
neovim-remote
to be able to open scripts in your existing NeoVim session.
pip install neovim-remote
# Create a symbolic link to your bin folder, in order to access `neovim-remote` from Unity.
sudo ln -s `which nvr` /usr/local/bin/nvr
- Install iTerm2.
brew install --cask iterm2
-
Go to
Unity Settings
->External Tools
. -
Set
External Script Editor
to:$HOME/.config/nvim/gamedev/unity/launcher_mac.sh
. -
Set
External Script Editor Args
to:+$(Line) $(File)
-
Finally, open NeoVim as:
nvim --listen "/tmp/nvimsocket"
and enjoy! For convenience, one can make analias nvim="nvim --listen '/tmp/nvimsocket'"
.
- Unity: Open files from Unity in a new NeoVim session.
- Unity: Open files from Unity in an existing NeoVim session.
- Unity: Attach to debugger process.