Simplifying terminal navigation
goto
allows you to customize its behavior using a configuration file. This file provides options to define default search settings and exclude specific directories from the results.
The configuration file is located at: ~/.goto_config.yaml
This file is optional. If it doesn’t exist, goto
uses sensible defaults.
The configuration file is written in YAML format. Below is an example configuration:
maxDepth: <integer>
excludeDirs:
- <string>
- <string>
Option | Description | Default |
---|---|---|
maxDepth |
Maximum search depth. | 5 |
excludeDirs |
Directories to be excluded from the search. | ".git", "node_modules" |
Here’s a complete example of a typical .goto_config.yaml
file:
maxDepth: 5
excludeDirs:
- build
- dist
- .cache