From a26dae6c0123e291352fc7d24699eb8c58193718 Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 30 Jul 2022 19:50:24 +0200 Subject: Update docs --- doc/config.md | 41 ++++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 23 deletions(-) (limited to 'doc/config.md') diff --git a/doc/config.md b/doc/config.md index 59c4b578..6e4a9f5f 100644 --- a/doc/config.md +++ b/doc/config.md @@ -16,7 +16,18 @@ Following is a list of general options:
**Name****Value****Function** -
double-width-ambiguousbooleanAssume the terminal displays characters in the East Asian Ambiguous category as double width +
double-width-ambiguousbooleanAssume the terminal displays characters in the East Asian Ambiguous category are double width +
+ +## Display + +Display options must be placed in a section called `[display`. + +Following is a list of display options: + + +
**Name****Value****Function** +
mark-colorcolorSet the marker's color. Valid options are "black", "red", "green", "yellow", "blue", "magenta", "cyan", "white", "terminal".
## Stylesheets @@ -100,6 +111,12 @@ description of these follows. `CURSOR_BOTTOM`Move cursor to the last line of the page `CENTER_LINE`Center screen around line `LINE_INFO`Display information about line +`SEARCH`Search for a string in the current buffer. +`SEARCH_BACK`Search for a string, backwards. +`ISEARCH`Search for a string and highlight the first result. +`ISEARCH_BACK`Search and highlight the first result, backwards. +`SEARCH_NEXT`Jump to the next search result. +`SEARCH_PREV`Jump to the previous search result. ### Line-editing actions @@ -122,25 +139,3 @@ description of these follows. `END`Move cursor to the previous word by one character `ESC`Ignore keybindings for next character - -## Network - -Network options must be placed in a section called `[network]`. - -Chawan can use two separate back-ends to fetch remote resources (i.e. websites, -css, etc.) The default back-end is the nim standard library's HTTP client. -As an alternative, curl is supported as well, by invoking an existing curl -binary on your system. - -Following is a list of network options: - - -
**Name****Value****Function** -
use-curlbooleanEnable curl support -
curl-binarystringPath to the curl binary (only used if use-curl is set to true) -
- -To enable curl support, you must - -* set `use-curl` to true -* and set `curl-binary` to the path of your curl binary. -- cgit 1.4.1-2-gfad0