yazi plugin refactor and cache
This commit is contained in:
parent
cd215f8df6
commit
62a382f2f5
3 changed files with 16 additions and 12 deletions
12
flake.lock
generated
12
flake.lock
generated
|
@ -744,11 +744,11 @@
|
|||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1743778191,
|
||||
"narHash": "sha256-Fc4kJeTawHVUd+TTpqLJRvvNusTTwqWE1vLz9IpH0NA=",
|
||||
"lastModified": 1743791363,
|
||||
"narHash": "sha256-hGETu0Ilugf0f7S5fFETUP+sS0ATrKcm+7YHs7GBwx4=",
|
||||
"owner": "sodiboo",
|
||||
"repo": "niri-flake",
|
||||
"rev": "612390f7f196eec4b832e3fca17719d412f5f69c",
|
||||
"rev": "f160e322673614c928e1187c268add9ef038a513",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -981,11 +981,11 @@
|
|||
},
|
||||
"nixpkgs-stable_2": {
|
||||
"locked": {
|
||||
"lastModified": 1743576891,
|
||||
"narHash": "sha256-vXiKURtntURybE6FMNFAVpRPr8+e8KoLPrYs9TGuAKc=",
|
||||
"lastModified": 1743703532,
|
||||
"narHash": "sha256-s1KLDALEeqy+ttrvqV3jx9mBZEvmthQErTVOAzbjHZs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "44a69ed688786e98a101f02b712c313f1ade37ab",
|
||||
"rev": "bdb91860de2f719b57eef819b5617762f7120c70",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -59,10 +59,12 @@
|
|||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://cache.garnix.io"
|
||||
"https://yazi.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||
"yazi.cachix.org-1:Dcdz63NZKfvUCbDGngQDAZq6kOroIrFoyO064uvLh8k="
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -10,10 +10,9 @@
|
|||
officialPluginsNames = [
|
||||
"chmod"
|
||||
"diff"
|
||||
"smart-filter"
|
||||
"git"
|
||||
"mount"
|
||||
"toggle-pane"
|
||||
# "toggle-pane"
|
||||
];
|
||||
|
||||
officialPluginsSrc = pkgs.fetchgit {
|
||||
|
@ -82,9 +81,9 @@
|
|||
|
||||
{ on = ["g" "l"]; run = "plugin lazygit"; desc = "lazygit"; }
|
||||
|
||||
{ on = ["t" "p"]; run = "plugin toggle-pane min-parent"; desc = "Toggle parent"; }
|
||||
{ on = ["t" "c"]; run = "plugin toggle-pane min-current"; desc = "Toggle current"; }
|
||||
{ on = ["t" "r"]; run = "plugin toggle-pane min-preview"; desc = "Toggle preview"; }
|
||||
# { on = ["t" "p"]; run = "plugin toggle-pane min-parent"; desc = "Toggle parent"; }
|
||||
# { on = ["t" "c"]; run = "plugin toggle-pane min-current"; desc = "Toggle current"; }
|
||||
# { on = ["t" "r"]; run = "plugin toggle-pane min-preview"; desc = "Toggle preview"; }
|
||||
|
||||
{ on = "<C-t>"; run ="tab_create"; }
|
||||
{ on = "<C-w>"; run ="tab_close"; }
|
||||
|
@ -105,8 +104,11 @@
|
|||
{ on = ["d" "d"]; run = "remove"; desc = "Delete files/folders"; }
|
||||
{ on = ["d" "u"]; run = "plugin restore"; desc = "Restore last deleted files/folders"; }
|
||||
|
||||
{ on = "f"; run = "plugin smart-filter"; desc = "Find file"; }
|
||||
{ on = "f"; run = "filter --smart"; desc = "Find file"; }
|
||||
{ on = "F"; run = "find --smart"; desc = "Find file"; }
|
||||
|
||||
{ on = "z"; run = "plugin zoxide"; }
|
||||
{ on = "Z"; run = "plugin fzf"; }
|
||||
];
|
||||
};
|
||||
settings = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue