Skip to content

A lightweight Cocoa app to handle the Apple Event sent by Unity on opening a script file & proxying it (with line number info) to Neovim remote script

Notifications You must be signed in to change notification settings

randomize/NvimProxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nvim Proxy

To install:

  • Build it (was compiled on Mac OSX 10.11.2 64-bit)
  • Put NvimProxy.app wherever you want
  • Make sure you have neovim and neovim remote installed from brew:
    brew tap neovim/neovim
    brew install nvim
    pip3 install neovim-remote
  • Make sure you have iTerm installed (and configured to have global hotkey toggle)
  • Point Unity's External Editor setting at the NvimProxy app
  • Launch iTerm2, best use with tmux
  • Laucnh neovim in remote mode with following socket:
$ NVIM_LISTEN_ADDRESS=/tmp/nvimsocket nvim
  • Double-click console message/monoscript to bring iTerm automatically in foreground with neovim showing corresponding file at correct line.

Special thanks to:

About

A lightweight Cocoa app to handle the Apple Event sent by Unity on opening a script file & proxying it (with line number info) to Neovim remote script

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%