Debian Codegraph @

book/src/configuration.md

raw symbols SCIP
1 # Configuration
2
3 To override global configuration parameters, create a `config.toml` file located in your config directory:
4
5 - Linux and Mac: `~/.config/helix/config.toml`
6 - Windows: `%AppData%\helix\config.toml`
7
8 > 💡 You can easily open the config file by typing `:config-open` within Helix normal mode.
9
10 Example config:
11
12 ```toml
13 theme = "onedark"
14
15 [editor]
16 line-number = "relative"
17 mouse = false
18
19 [editor.cursor-shape]
20 insert = "bar"
21 normal = "block"
22 select = "underline"
23
24 [editor.file-picker]
25 hidden = false
26 ```
27
28 You can use a custom configuration file by specifying it with the `-c` or
29 `--config` command line argument, for example `hx -c path/to/custom-config.toml`.
30 You can reload the config file by issuing the `:config-reload` command. Alternatively, on Unix operating systems, you can reload it by sending the USR1
31 signal to the Helix process, such as by using the command `pkill -USR1 hx`.
32
33 Finally, you can have a `config.toml` and a `languages.toml` local to a project by putting it under a `.helix` directory in your repository.
34 Its settings will be merged with the configuration directory and the built-in configuration.
35