Skip to content

Shallow-Seek/modif.yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

modif.yazi

A Yazi plugin that displays recently modified files (within the last 5 days).

Requirements

  • Yazi file manager
  • fd - A simple, fast and user-friendly alternative to find

Installation

  1. Install the plugin by running:
git clone https://github.com/your-username/modif.yazi.git ~/.config/yazi/plugins/modif.yazi

or

ya pkg add Shallow-Seek/modif
  1. Add the plugin to your Yazi keymaps (keymap.toml):
[[manager.prepend_keymap]]
on = [ "b", "m" ]
run = "plugin modif 5d"
desc = "Show files modified in the last 5 days"

Configuration

You can configure the time range for recently modified files by passing an argument to the plugin command in your keymap.toml. This allows you to have multiple keybindings for different time ranges.

For example:

[[manager.prepend_keymap]]
on = [ "b", "w" ]
run = "plugin modif 1w"
desc = "Show files modified in the last week"

The default time range is 5d if no argument is provided.

The arg will be passed as fd's --changed-within option. It can be specified using units like d (days), week, month, year.

Usage

  1. In Yazi, press b followed by m (or your configured keybinding)
  2. files modified within the last 5 days will be shown in the search pane.
  3. Navigate, operate, and preview the files as you would in any regular directory. And quit the view by press esc.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Credits

vcs-files.yazi

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages