Clipixir.Picker (clipixir v0.1.2)

View Source

Interactive fuzzy/finder picker for clipboard entries managed by Clipixir.

  • Use /searchterm for live fuzzy/substr search.
  • Type a number to instantly copy and promote an entry.
  • Press q to quit.

Summary

Functions

Formats a unix timestamp (seconds) into YYYY-MM-DD HH:MM. Accepts nil as blank.

Start the picker loop in the current terminal. Shows clipboard history or prompts if empty.

Functions

format_ts(ts)

Formats a unix timestamp (seconds) into YYYY-MM-DD HH:MM. Accepts nil as blank.

Example

iex> Clipixir.Picker.format_ts(1718766000)
"2024-06-18 13:00"

pick_and_copy()

Start the picker loop in the current terminal. Shows clipboard history or prompts if empty.

Examples

iex> Clipixir.Picker.pick_and_copy()
# Interactive TUI shown