Skip to content

Commit

Permalink
Fix broken link in fuzzy-finding.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Natanel-Shitrit authored Jul 20, 2024
1 parent be74ae6 commit c508d4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/user-input/fuzzy-finding.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{{story cast input/find/full-bottom}}

Simple, fast, and configurable fuzzy finding is one of `cy`'s most important features. `cy` provides a purpose-built fuzzy finder (similar to [fzf](https://github.com/junegunn/fzf)) in the form of {{api input/find}}, which is a function available in [the API](./api.md#inputfind).
Simple, fast, and configurable fuzzy finding is one of `cy`'s most important features. `cy` provides a purpose-built fuzzy finder (similar to [fzf](https://github.com/junegunn/fzf)) in the form of {{api input/find}}, which is a function available in [the API](../api.md#inputfind).

## Choosing a string from a list

Expand All @@ -12,7 +12,7 @@ In its simplest form, {{api input/find}} takes a single parameter: a [Janet arra
(input/find @["one" "two" "three"])
```

By default, the background will be animated with one of `cy`'s [animations](./animations.md). If the user does not choose anything, this function returns `nil`; if they do, it will return the option that they chose.
By default, the background will be animated with one of `cy`'s [animations](../animations.md). If the user does not choose anything, this function returns `nil`; if they do, it will return the option that they chose.

## Choosing an arbitrary value from a list

Expand Down Expand Up @@ -53,7 +53,7 @@ It is sometimes handy to be able to have the user choose from a row in a table r

Where {{api input/find}} really shines, however, is in its ability to show a preview window for each option, which is conceptually similar to `fzf`'s `--preview` command line flag. {{api input/find}} can preview three different types of content:

- **Panes:** Show the current state of a pane in `cy`'s [node tree](./groups-and-panes.md#the-node-tree). This is the live view of a pane, regardless of how many other clients are interacting with it or what is happening on the screen.
- **Panes:** Show the current state of a pane in `cy`'s [node tree](../groups-and-panes.md#the-node-tree). This is the live view of a pane, regardless of how many other clients are interacting with it or what is happening on the screen.
- **`.borg` files:** Show a moment in time in a `.borg` file.
- **Scrollback buffer:** Show the output of a particular command in a pane's scrollback buffer.
- **Text:** Render some text.
Expand Down

0 comments on commit c508d4f

Please sign in to comment.