Releases: skim-rs/skim
Releases · skim-rs/skim
v0.10.4
v0.10.3: Merge pull request #517 from lotabout/yazgoo-patch-1
Update README.md
v0.10.2
v0.10.1
v0.10.0
v0.9.4
v0.9.3
v0.9.2
Feature:
- new action
refresh-cmd
: call the interactive command and refresh the items accordingly. - new action
refresh-preview
: call the preview command and refresh the preview display. Will only refresh if the preview window is shown.
Fix:
v0.9.1
Feature:
- Support preview scroll offset relative to window height
git grep --line-number '' | sk --delimiter : \ --preview 'bat --style=numbers --color=always --highlight-line {2} {1}' \ --preview-window +{2}-/2
Fix:
- #356 panic on ANSI enabled.
tiebreak
would now includescore
in the front of criterion if not specified.- Reduce preview window flicking when moving cursor fast.
- Multiple preview window options weren't merged.
pre-select-items
should not contain empty string by default.- click/wheel events's row weren't correct if
--height
is specified.
v0.9.0
Breaking Change to the Library:
SkimItem::display
now accepts aDisplayContext
that provide more information such as container width, score, matches, etc.SkimItem::preview
now accepts aPreviewContext
that provide more information such as query, width, selections, etc.Skim::run_as
now returnsSome
on bothAccept
andAbort
, so that user could collect and react on abort events.SkimOutput
now provides the final key received before return.
Features:
- Reduce memory usage
- Defer drops of items, to improve interaction speed
- support
--tac
and--nosort
- new action:
half-page-up
andhalf-page-down
- support tiebreak by
length
- #344 expose preview context in
preview()
function - #341 support multiline header
- use unicode spinner
- #324 support option
--no-clear
to keep the content drawn on screen - #300 library: move reader options to default reader
- support new option
--keep-right
to show the right most text if it is too long. - support negative horizontal scroll
- support
--skip-to-pattern
to start item display with the pattern matched - support
--select-1
that automatically select the only match - support
--exit-0
that exit automatically if no item matched - support
--sync
that waits for all inputs to be ready and then starts the selection UI - #309 support pre-selection
pre-select-n
: select firstn
itemspre-select-pat
: select items that matches regexpre-select-items
: select items from a presetpre-select-file
: select items from a preset that's loaded from file
- #328 support
--no-clear-if-empty
that preserve selection if the new command query returns nothing. Was designed to reduce flicking.
Fixes: