Search Unity

Resolved (Windows) How to launch Neovim as external script editor

Discussion in 'Editor & General Support' started by Loen10, Jan 20, 2023.

  1. Loen10

    Loen10

    Joined:
    Apr 9, 2022
    Posts:
    3
    Don't ask me why but I'd like to use Neovim as my external script editor. Every tutorial I've found has been for GNU/Linux or macOS. I've tried setting it to the nvim.exe on my computer but nothing launches. Then I tried just launching Powershell (pwsh.exe) and still, nothing appears.


    I'm using Windows Terminal as my emulator but I haven't been able to find the executable for it. Any help would be appreciated.
     
  2. Loen10

    Loen10

    Joined:
    Apr 9, 2022
    Posts:
    3
    Ok so I was able to find a solution.

    External Script Editor: pwsh
    External Script Editor Args: -WindowStyle Normal -Command nvim $(File)

    You can also try WindowStyle Maximized if that's your thing. After all this headache, I'm just going to stick with VSCode and the Neovim extension.
     
    Kurt-Dekker likes this.
  3. paopeaw

    paopeaw

    Joined:
    Oct 4, 2019
    Posts:
    1
    Hi! I'm so grateful that I found your forum about using powershell as a editor for unity cus i've been looking for this solution for a while, But my pwsh can't be accessed by system when I try to select pwsh in external script editor. Do you have any solution for me? Thank you so much!
     

    Attached Files: