jesseduffield / jesseduffield/lazygit

cant editAtLine from buffer window using nvim remote

Open
#5,121 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

### Describe the bug
I am trying to open a file that has unstaged changes by using "e" in the staging panel, as described in the Configuring File Editing part of the docs:

```
e can also jump to the right line in the file if you invoke it from the staging panel, for example.
```

This does not work, nor does it show as an option when using keybinds helper `?`.

### To Reproduce
Steps to reproduce the behavior:

1. Set editPreset to `nvim-remote`
2. Open lazygit from neovim
3. Enter staging window from file that has unstaged changes
4. Try to press e to edit the file from that line.

### Expected behavior
Neovim opens to the current hunk's first line.

### Version info:

* 0.56.0
* 2.39.5

> [!NOTE]
> Please try updating to the latest version or [manually building](https://github.com/jesseduffield/lazygit/#manual) the latest `master` to see if the issue still occurs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.