diff --git a/README.md b/README.md
index b283fc6..c6456b1 100644
--- a/README.md
+++ b/README.md
@@ -41,3 +41,28 @@ $ cargo install --version 0.1.0-alpha.0 gobang
| → | Move focus to right |
| ← | Move focus to left |
| / | Filter |
+
+## Configuration
+
+The location of the file depends on your OS:
+
+- macOS: `$HOME/.config/gitui/config.toml`
+- Linux: `$HOME/.config/gitui/config.toml`
+- Windows: `%APPDATA%/gitui/config.toml`
+
+The following is a sample config.toml file:
+
+```toml
+[[conn]]
+type = "mysql"
+user = "root"
+host = "localhost"
+port = 3306
+
+[[conn]]
+type = "mysql"
+user = "root"
+host = "localhost"
+port = 3306
+database = "foo"
+```
diff --git a/resources/gobang.gif b/resources/gobang.gif
index c7255a8..2e3cb0b 100644
Binary files a/resources/gobang.gif and b/resources/gobang.gif differ
diff --git a/src/config.rs b/src/config.rs
index 4b522e8..e0c9b6b 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -132,7 +132,7 @@ impl Config {
let config_path = if let Some(config_path) = &config.config_path {
config_path.clone()
} else {
- get_app_config_path()?.join("config.yml")
+ get_app_config_path()?.join("config.toml")
};
if let Ok(file) = File::open(config_path) {
let mut buf_reader = BufReader::new(file);