summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.gmi3
-rw-r--r--files.go2
2 files changed, 4 insertions, 1 deletions
diff --git a/README.gmi b/README.gmi
index 4a7eebe..8bb102d 100644
--- a/README.gmi
+++ b/README.gmi
@@ -125,5 +125,8 @@ It has a "[main]" section with the following configuration options:
* default_scheme (string): the URL scheme to use in the "go" command when none is provided. default "gemini"
* soft_wrap (int): the number of columns to wrap, or -1 to not add soft wrapping. default 72
* download_folder (string): path at which to store files saved by the "save" command. default $HOME
+* pager (string): whether to run the "less" pager ("auto", "always", or "never"). default "auto"
+* timeout (string): how long to allow servers to take responding to requests, in go's duration formats. default "10s"
+* saved_history_depth (int): how many items of history to keep. default 30
Then a "[handlers]" section contains mappings of mimetypes to shell commands which should be used to handle them.
diff --git a/files.go b/files.go
index f0b1ed2..da66cec 100644
--- a/files.go
+++ b/files.go
@@ -23,7 +23,7 @@ type ConfigMain struct {
VimKeys bool `toml:"vim_keys"`
Quiet bool `toml:"quiet"`
Pager string `toml:"pager"`
- Timeout duration `toml:"duration"`
+ Timeout duration `toml:"timeout"`
SavedHistoryDepth int `toml:"saved_history_depth"`
}