You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default Helix reads both the project-local .gitignore patterns and the global ~/.config/git/ignore patterns, and suppresses files matching them from appearing in the file picker.
Ignore patterns can be restricted to the repo root by prefixing them with /. For example /.envrc only matches a file called .envrc in the repo root. This appears to work correctly with the file picker when written in the project-local .gitignore. However when written in the global ignore list, it doesn't seem to have any effect.
Reproduction Steps
Add a rooted pattern, for example /a to ~/.config/git/ignore
Create a file called a in the root of a repo
See that a appears in the picker
Add /a to .gitignore in the repo
See that a does not appear in the picker
Helix log
No response
Platform
Linux
Terminal Emulator
alacritty
Installation Method
nixpkgs
Helix Version
helix 25.1
The text was updated successfully, but these errors were encountered:
Summary
By default Helix reads both the project-local
.gitignore
patterns and the global~/.config/git/ignore
patterns, and suppresses files matching them from appearing in the file picker.Ignore patterns can be restricted to the repo root by prefixing them with
/
. For example/.envrc
only matches a file called.envrc
in the repo root. This appears to work correctly with the file picker when written in the project-local.gitignore
. However when written in the global ignore list, it doesn't seem to have any effect.Reproduction Steps
/a
to~/.config/git/ignore
a
in the root of a repoa
appears in the picker/a
to.gitignore
in the repoa
does not appear in the pickerHelix log
No response
Platform
Linux
Terminal Emulator
alacritty
Installation Method
nixpkgs
Helix Version
helix 25.1
The text was updated successfully, but these errors were encountered: