Skip to content

Commit

Permalink
search input bullet point
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickF1 committed Oct 19, 2020
1 parent f4ee5be commit 12d6858
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,22 @@ A plugin that integrates [fzf][] into your [fish][] workflow. Comes with handy f

## Features

Use `fzf.fish` to find:
Use `fzf.fish` to find and output:

### A `file` in the current `directory`
### A `file`

![file search][]

- Search input: the tree of files in the current directory
- Key binding: `Ctrl+f`
- Mnemonic: f for file
- In right window, shows preview of file with syntax highlighting, directory contents, or file type

### `paths` from the current repository's `git status`
### Modified `paths`

![git status select][]

- Search input: the current repository's `git status`
- Key binding: `Ctrl+Alt+s`
- Mnemonic: s for status, Alt to prevent overriding filter tab completion (which is `Ctrl+s`)
- Use `Tab` to multi-select
Expand All @@ -33,24 +35,26 @@ Use `fzf.fish` to find:

![git log search][]

- Key binding: `Ctrl+Alt+l`
- Mnemonic: l for log, Alt to prevent overriding clear screen (which is `Ctrl+l`)
- In right window, shows preview of commit
- Search input: the current repository's `git log`
- Key binding: `Ctrl+Alt+l`
- Mnemonic: l for log, Alt to prevent overriding clear screen (which is `Ctrl+l`)
- In right window, shows preview of commit

### A `command` from `command history`
### A previously run `command`

![command history search][]

- Search input: the command history from all interactive sessions of `fish`
- Key binding: `Ctrl+r`
- Mnemonic: r for reverse-i-search

### A `shell variable`

![shell variables search][]

- Search input: all shell variables of the current fish session, both local and exported variables
- Key binding: `Ctrl+v`
- Mnemonic: v for variable
- Searches both local and exported shell variables
- In right window, preview the value of the variable if it was exported

_The prompt used in the above screencasts was created using [IlanCosman/tide][]._
Expand Down

0 comments on commit 12d6858

Please sign in to comment.