Skip to content

A yazi plugin for browsing backwards and forwards in time via BTRFS / ZFS snapshots.

License

Notifications You must be signed in to change notification settings

iynaix/time-travel.yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

time-travel.yazi

A Yazi plugin for browsing backwards and forwards in time via BTRFS / ZFS snapshots.

zfs.yazi.mp4

Installation

ya pack -a iynaix/time-travel

Note

The minimum required yazi version is 25.2.7.

Usage

Add keymaps similar to the following to your ~/.config/yazi/keymap.toml:

[[manager.prepend_keymap]]
on = ["z", "h"]
run = "plugin time-travel --args=prev"
desc = "Go to previous snapshot"

[[manager.prepend_keymap]]
on = ["z", "l"]
run = "plugin time-travel --args=next"
desc = "Go to next snapshot"

[[manager.prepend_keymap]]
on = ["z", "e"]
run = "plugin time-travel --args=exit"
desc = "Exit browsing snapshots"

Note for BTRFS

sudo is required to run btrfs commands such as btrfs subvolume list, the plugin will drop into a terminal to prompt for the password.

About

A yazi plugin for browsing backwards and forwards in time via BTRFS / ZFS snapshots.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages