jesseduffield / jesseduffield/lazygit

ctrl+s not works as expected.

Open
#2,978 9 comments 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**
a lots of unrelated file in "Suggestions" window when I type file name,
seems lazygit recognize file name as fuzzy file path.

for example:

I type "Hello.java"
it shows me:
Hdfssdf/fdsfe/sdflsdf/dsfdsfl/fdsdfo.java
...... a lot of files here
......
Hello.java <- what I want and should be matched in first line but is the last one.
**sorry I cannot paste my company project as example**

by the way, same issue happened in vim "ctrlp" plugin, so I replace it with telescope....

**To Reproduce**
ctrl + s to search file to search single file with file name.

**Expected behavior**
gives me the file what I typed.

**Screenshots**

**Version info:**

**Additional context**

**Note:** please try updating to the latest version or [manually building]

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.