fzf

package
v2.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ItemLineStyle

func ItemLineStyle(w int) lipgloss.Style

func NewTI

func NewTI(w int) textinput.Model

func NewVP

func NewVP(w int, h int, items []string) viewport.Model

func SelectedItemStyle

func SelectedItemStyle(w int) lipgloss.Style

func TextStyle

func TextStyle() lipgloss.Style

func VPStyle

func VPStyle() lipgloss.Style

Types

type FuzzyFinder

type FuzzyFinder struct {
	Width         int
	Height        int
	Keymap        keymap.FuzzyMap
	Help          help.Model
	Vp            viewport.Model
	Ti            textinput.Model
	Items         []string
	Filtered      []string
	SelectedIndex int
}

func NewFzf

func NewFzf(items []string, w int, h int) FuzzyFinder

func (*FuzzyFinder) Filter

func (m *FuzzyFinder) Filter(val string)

func (*FuzzyFinder) Init

func (m *FuzzyFinder) Init() tea.Cmd

func (*FuzzyFinder) Update

func (m *FuzzyFinder) Update(msg tea.Msg) (FuzzyFinder, tea.Cmd)

func (*FuzzyFinder) UpdateVP

func (m *FuzzyFinder) UpdateVP()

func (*FuzzyFinder) View

func (m *FuzzyFinder) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL