diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-12-05 22:00:39 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-12-05 22:00:39 +0100 |
| commit | b8a0d0e9245abaa287a28c3c6ca217112dd38358 (patch) | |
| tree | 3566452c25e3f2ac834b228f269595718a49246a /doc | |
| parent | b92f653d6f4f9b3b862777e5c150c035f14cbd30 (diff) | |
| download | chawan-b8a0d0e9245abaa287a28c3c6ca217112dd38358.tar.gz | |
Update docs
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/cha-api.5 | 10 | ||||
| -rw-r--r-- | doc/cha-config.5 | 26 |
2 files changed, 31 insertions, 5 deletions
diff --git a/doc/cha-api.5 b/doc/cha-api.5 index df828dd0..2ea1309a 100644 --- a/doc/cha-api.5 +++ b/doc/cha-api.5 @@ -139,17 +139,17 @@ Same as \f[CR]pager.load(url + \[dq]\[rs]n\[dq])\f[R]. T}@T{ T} T{ -\f[CR]gotoURL(url, options = {replace: null, contentType: null})\f[R] +\f[CR]gotoURL(url, options = {replace: null, contentType: null, save: false})\f[R] T}@T{ Go to the specified URL immediately (without a prompt). -This differs from \f[CR]load\f[R] and \f[CR]loadSubmit\f[R] in that it -\f[I]does not\f[R] try to correct the URL. +This differs from \f[CR]loadSubmit\f[R] in that it loads the exact URL +as passed (no prepending https, etc.) When \f[CR]replace\f[R] is set, the new buffer may replace the old one if it loads successfully. When \f[CR]contentType\f[R] is set, the new buffer\[cq]s content type is forcefully set to that string. -Use this for loading automatically retrieved (i.e.\ non\-user\-provided) -URLs. +When \f[CR]save\f[R] is true, the user is prompted to save the resource +instead of displaying it in a buffer. T}@T{ T} T{ diff --git a/doc/cha-config.5 b/doc/cha-config.5 index 2a2efa0a..101c11e6 100644 --- a/doc/cha-config.5 +++ b/doc/cha-config.5 @@ -386,6 +386,24 @@ T}@T{ Path to pre\-fill for \[lq]Save to:\[rq] prompts. T}@T{ T} +T{ +copy\-cmd +T}@T{ +shell command +T}@T{ +Command to use for \[lq]copy to clipboard\[rq] operations. +Currently it defaults to \f[CR]xsel \-bi\f[R]. +T}@T{ +T} +T{ +paste\-cmd +T}@T{ +shell command +T}@T{ +Command to use for \[lq]read from clipboard\[rq] operations. +Currently it defaults to \f[CR]xsel \-bo\f[R]. +T}@T{ +T} .TE .SS Input Input options are to be placed in the \f[CR][input]\f[R] section. @@ -1649,6 +1667,14 @@ T}@T{ Save the source of the current buffer to the disk. T}@T{ T} +T{ +sI +T}@T{ +\f[CR]cmd.buffer.saveImage\f[R] +T}@T{ +Save the image currently under the cursor. +T}@T{ +T} .TE .SS Line\-editing actions .PP |