Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fzf-nvim-tui

A minimal terminal file manager UI for fish, using fzf and nvim. Provides interactive file actions with automatic history management.


Features

  • File selection via fzf
  • Edit (nvim), Delete, or Rename files
  • Saves edited files to ~/.fn as backups
  • Search history with fnh
  • Auto cleanup to keep history under 1GB or 100 files

Installation

git clone https://github.com/Craftefix/fzf-nvim-tui ~/.fzf-nvim-tui  
cd ~/.fzf-nvim-tui  
fish install.fish

Requires fish, fzf, and nvim.


Usage

fn

Launch fn to pick a file and select an action:

╭──────────────────────────────╮  
│ Selected file:               │  
│ example.txt                  │  
│                              │  
│ 1 / e - Edit (nvim)          │  
│ 2 / d - Delete (rm)          │  
│ 3 / m - Move (rename)        │  
│                              │  
│ Press Ctrl+C to quit         │  
╰──────────────────────────────╯
  • Edits save a backup copy to ~/.fn
  • Rename updates UI with new filename
  • Delete exits the function

fnh

Run fnh to search and open files from history stored in ~/.fn. The history auto-trims by deleting oldest files to stay under 1GB or 100 files.


Configuration

  • History stored in ~/.fn
  • Default editor is nvim (changeable)
  • Limits: 1GB or 100 files in history (adjustable)

License

MIT © 2026 Craftefix

About

A set of fish - the friendly interactive shell functions to do stuff with a file selected through fzf

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages