mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
docs: fix v0.6.0 Changes and README gaps
This commit is contained in:
parent
cf2ea47a52
commit
dcad6fbf1b
16
Changes
16
Changes
|
|
@ -44,9 +44,10 @@ v0.6.0 - UNRELEASED
|
|||
* Added `peco.FreezeResults` / `peco.UnfreezeResults` actions.
|
||||
Freezing locks the current result set so you can clear the query,
|
||||
switch filters, and continue filtering against the frozen subset (#424, #596).
|
||||
* Added `--height` option for inline display. Limits peco to the
|
||||
specified number of terminal rows instead of taking over the full
|
||||
screen (#471, #598).
|
||||
* Added `--height` option for inline display. Accepts a line count
|
||||
(e.g. `--height 5`) or a percentage (e.g. `--height 50%`) and
|
||||
renders peco inline instead of taking over the full screen
|
||||
(#471, #598).
|
||||
* Added `peco.ZoomIn` / `peco.ZoomOut` actions that expand visible
|
||||
context around matched lines, showing surrounding lines (#289, #600).
|
||||
* Added ANSI color rendering support via `--color=auto|none` CLI flag
|
||||
|
|
@ -54,14 +55,17 @@ v0.6.0 - UNRELEASED
|
|||
`git log --color` or `rg --color` is now displayed with colors
|
||||
preserved. Default is `auto` (enabled) (#398, #602).
|
||||
* Added `IRegexp` filter for case-insensitive regexp matching, so you
|
||||
no longer need to manually type `(?i)` in regex queries (#564).
|
||||
no longer need to manually type `(?i)` in regex queries. `IRegexp`
|
||||
can also be used as a value for `--initial-filter` / `InitialFilter`
|
||||
(#564).
|
||||
* Added `--exit-0` option to immediately exit with non-zero status
|
||||
when the input is empty, analogous to `--select-1` (#538, #582).
|
||||
* Added Ctrl+Shift key modifier and CSI u / fixterms escape sequence
|
||||
support for modern terminals (#529, #581).
|
||||
* Added Page Up/Down and Home/End key support (#428, #584).
|
||||
* Added a new layout type: top-down list with query prompt at the
|
||||
bottom (#445, #595).
|
||||
* Added a new `top-down-query-bottom` layout: top-down list with
|
||||
query prompt at the bottom. Use `--layout top-down-query-bottom`
|
||||
or `"Layout": "top-down-query-bottom"` in config (#445, #595).
|
||||
* Added man page (`peco.1`) for offline documentation (#467, #587).
|
||||
* Added support for ANSI color codes in the `--prompt` string (#294, #586).
|
||||
* Added `--select-all` option to select all input lines and immediately
|
||||
|
|
|
|||
16
README.md
16
README.md
|
|
@ -472,7 +472,7 @@ You can change the query line's prompt, which is `QUERY>` by default.
|
|||
|
||||
### InitialFilter
|
||||
|
||||
Specifies the filter name to start peco with. You should specify the name of the filter, such as `IgnoreCase`, `CaseSensitive`, `SmartCase`, `Regexp` and `Fuzzy`.
|
||||
Specifies the filter name to start peco with. You should specify the name of the filter, such as `IgnoreCase`, `CaseSensitive`, `SmartCase`, `IRegexp`, `Regexp` and `Fuzzy`.
|
||||
|
||||
### FuzzyLongestSort
|
||||
|
||||
|
|
@ -533,6 +533,20 @@ very long lines that prohibit peco from reading them, try increasing this number
|
|||
|
||||
The same time, the default MaxScanBuferSize is 256kb.
|
||||
|
||||
### FilterBufSize
|
||||
|
||||
```json
|
||||
{
|
||||
"FilterBufSize": 1000
|
||||
}
|
||||
```
|
||||
|
||||
Controls the number of lines buffered internally during filtering. If you are
|
||||
working with very large inputs and notice sluggish filter updates, you can try
|
||||
adjusting this value.
|
||||
|
||||
Default value for FilterBufSize is 1000.
|
||||
|
||||
### Color
|
||||
|
||||
```json
|
||||
|
|
|
|||
Loading…
Reference in a new issue