Skip to content

Releases: skim-rs/skim

v0.9.1

20 Oct 08:42
Compare
Choose a tag to compare

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 include score 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

18 Oct 14:19
Compare
Choose a tag to compare

Breaking Change to the Library:

  • SkimItem::display now accepts a DisplayContext that provide more information such as container width, score, matches, etc.
  • SkimItem::preview now accepts a PreviewContext that provide more information such as query, width, selections, etc.
  • Skim::run_as now returns Some on both Accept and Abort, 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 and half-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 first n items
    • pre-select-pat: select items that matches regex
    • pre-select-items: select items from a preset
    • pre-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:

  • #326 preview not updated anymore
  • #349 kill-line and discard-line in interactive mode
  • #344 implement text() and display() correctly
  • #312 mouse click and page up/down out of bound
  • Do not auto-scroll for customized items
  • #321 fix annoyance through ZSH's REPORTTIME

v0.8.2

26 Jun 03:01
Compare
Choose a tag to compare

Bug fixes:

  • fix skim executable in bash completion
  • fix #291 hide scroll in when content fit
  • fix #308 hangs on initialization

v0.8.1

01 Apr 13:24
Compare
Choose a tag to compare

Feature:

  • #63 could save to and read from history for query and command query via --history and --cmd-history
  • #273 inline-info now has spinner
  • #276 new action: if-non-matched will execute if non of the items matches
  • reduce memory footprint
  • #248 implement {n} placeholder, used to refer to current items's index(zero based).

Bug fixes:

  • PR #279 exit gracefully on SIGPIPE error. (e.g. Ctrl-C on pipes)
  • #276 execute panic on zero results
  • #278 NUL character not working in preview command
  • handle print0 correctly in filter mode
  • Preview's fields now based on original text, not transformed.
  • #295 skim not exits sometimes (occasionally happens on Ubuntu)

v0.8.0

23 Feb 13:18
9c067e1
Compare
Choose a tag to compare

Breaking Changes in API

  • Skim::run_with now accept a stream of SkimItem instead of a BufRead.

Feature:

  • #233 support mouse scroll/click event
  • #254 support {+} in preview and execute command
  • #226 support exact match combination(e.g. ^abc$)
  • #216 support item specific preview hook method
  • #219 support case insensitive match

Bug fixes:

  • #252 Deal with \b correctly
  • #210 exclude current item in multi-selection
  • #225 disable score in filter output

v0.7.0

15 Jan 03:05
e2207d1
Compare
Choose a tag to compare

Feature:

  • New fuzzy matching algorithm, should be more precise and faster.

Bug fixes:

  • PR #227
    Fix isatty check on more OS.
  • Fix various cases where ANSI code not behave correctly.

v0.6.9

22 Sep 00:05
Compare
Choose a tag to compare
version 0.6.9

v0.6.8

23 Jun 02:32
Compare
Choose a tag to compare

Feature:

  • New action: if-query-empty, if-query-not-empty. Execute actions on
    certain query conditions.
  • New action: append-and-select allows you to append current query to the
    item pool and select it. It would help to turn skim into a tag manager
    where new tags could be added to the candidate list.

Bug fixes:

  • Fix #188: crates.io breaks on 0.6.7
  • Fix: run_with will break if called multiple times from the same process.
  • Update nix to 0.14

v0.6.7

31 May 02:17
Compare
Choose a tag to compare

Feature:

  • Refer to query and command query with {q} and {cq} in preview command.
  • Support fzf's theme strings, e.g. bg+ for current line's background.
  • Support customizing styles of query strings.

Bug fixes:

  • skim would crash if multiple CJK items are matched in an OR query.
  • SKIM_DEFAULT_COMMAND not correctly recognized in sk-tmux
  • UI responses are slow on large input

v0.6.6

03 Apr 02:06
Compare
Choose a tag to compare

fix #158: preview window not update correctly.