Skip to content

cannot open vim/nvim in windows #4612

@BingCoke

Description

@BingCoke

What happened?

I set the editor environment variable to "vim", and then found that I couldn't edit anything. However, if I press :q, I can then enter edit mode. Is the editor being opened twice?

Steps to reproduce

in windows terminal $env:EDITOR = "nvim" , open pi , and ctrl+g to open external editor

Expected behavior

open vim and can edit file

Version

❯ pi --version
0.74.1

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions