Skip to content

Keyboard shortcut o to open config.yml file does not respect default editor #3408

@jamesnelmore

Description

@jamesnelmore

Describe the bug
When using the shortcut o to open the lazygit config file, it does not open in the default editor specified by $EDITOR.

To Reproduce
Steps to reproduce the behavior:

  1. Select Status panel
  2. Presse o
  3. config.yml opened in Xcode (on MacOS), while I have $EDITOR set to nvim

Expected behavior
Should open the config file in the default editor according to config.yml or $EDITOR.

Version info:
commit=, build date=, build source=homebrew, version=0.40.2, os=darwin, arch=arm64, git version=2.44.0
git version 2.44.0

I ran this one the latest commit (fadc289) and it still occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions