2020-08-26 19:23:53 +03:00
# Key Config
2020-08-26 19:37:13 +03:00
The default keys are based on arrow keys to navigate.
2020-08-26 19:23:53 +03:00
2020-08-26 19:37:13 +03:00
However popular demand lead to fully customizability of the key bindings.
2020-08-26 19:23:53 +03:00
2020-08-26 19:37:13 +03:00
On first start `gitui` will create `key_config.ron` file automatically based on the defaults.
This file allows changing every key binding.
The config file format based on the [Ron file format ](https://github.com/ron-rs/ron ).
The location of the file depends on your OS:
2021-02-17 00:52:32 +03:00
* `$HOME/.config/gitui/key_config.ron` (mac)
2020-08-26 19:23:53 +03:00
* `$XDG_CONFIG_HOME/gitui/key_config.ron` (linux using XDG)
* `$HOME/.config/gitui/key_config.ron` (linux)
2021-05-24 19:06:59 +03:00
* `%APPDATA%/gitui/key_config.ron` (Windows)
2020-08-26 19:23:53 +03:00
2021-04-13 11:16:35 +03:00
Here is a [vim style key config ](vim_style_key_config.ron ) with `h` , `j` , `k` , `l` to navigate. Use it to copy the content into `key_config.ron` to get vim style key bindings.