mirror of https://github.com/helix-editor/helix
book: Describe usage of `.ignore` and helix-specific ignore files in `[editor.file-picker]` section (#9102)
parent
c56cd6ee8b
commit
a1a20d231f
|
@ -177,6 +177,21 @@ All git related options are only enabled in a git repository.
|
||||||
|`git-exclude` | Enables reading `.git/info/exclude` files | `true`
|
|`git-exclude` | Enables reading `.git/info/exclude` files | `true`
|
||||||
|`max-depth` | Set with an integer value for maximum depth to recurse | Defaults to `None`.
|
|`max-depth` | Set with an integer value for maximum depth to recurse | Defaults to `None`.
|
||||||
|
|
||||||
|
Ignore files can be placed locally as `.ignore` or put in your home directory as `~/.ignore`. They support the usual ignore and negative ignore (unignore) rules used in `.gitignore` files.
|
||||||
|
|
||||||
|
Additionally, you can use Helix-specific ignore files by creating a local `.helix/ignore` file in the current workspace or a global `ignore` file located in your Helix config directory:
|
||||||
|
- Linux and Mac: `~/.config/helix/ignore`
|
||||||
|
- Windows: `%AppData%\helix\ignore`
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```ini
|
||||||
|
# unignore in file picker and global search
|
||||||
|
!.github/
|
||||||
|
!.gitignore
|
||||||
|
!.gitattributes
|
||||||
|
```
|
||||||
|
|
||||||
### `[editor.auto-pairs]` Section
|
### `[editor.auto-pairs]` Section
|
||||||
|
|
||||||
Enables automatic insertion of pairs to parentheses, brackets, etc. Can be a
|
Enables automatic insertion of pairs to parentheses, brackets, etc. Can be a
|
||||||
|
|
Loading…
Reference in New Issue