Closed hrai closed 4 months ago
Actually I identified the culprit to be -NoNewWindow
flag that is a Windows bug.
Here's the command I ran that would give this error behaviour on Windows Terminal.
Start-Process nvim -ArgumentList '"C:\_dev\yarn.lock" +0' -NoNewWindow
@kelleyma49 is it possible to add a flag to the FuzzyEdit
command to have this -NoNewWindow
as optional?
I disabled the keymap and added a workaround instead.
function FindFile
{
Get-ChildItem . -Recurse -Attributes !Directory | Invoke-Fzf | % { vim $_ }
}
Set-Alias fe FindFile
When I set vim as $ENV:EDITOR no editor is opened.
I only get the output below:![image](https://github.com/kelleyma49/PSFzf/assets/4055444/63c5bf6f-3da8-4edd-9c5b-0fe9619c3c19)
https://github.com/kelleyma49/PSFzf/pull/158
But when I set it to![image](https://github.com/kelleyma49/PSFzf/assets/4055444/5eea8319-4932-44c6-98d6-649fa05247eb)
nvim
are per this https://github.com/kelleyma49/PSFzf/issues/157, I have similar issue as described here https://github.com/kelleyma49/PSFzf/issues/242:The editor is open but I can't trace what's going on in the editor.