yazi refactor + update fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, lib, system, rice, inputs, ... }:
|
{ pkgs, system, rice, inputs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# yazi
|
# yazi
|
||||||
@@ -13,7 +13,9 @@
|
|||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
shellWrapperName = "ya";
|
shellWrapperName = "ya";
|
||||||
plugins = with inputs.yazi-plugins.packages.${system}; {
|
plugins = with inputs.yazi-plugins.packages.${system}; {
|
||||||
inherit chmod starship;
|
inherit
|
||||||
|
# chmod
|
||||||
|
starship;
|
||||||
};
|
};
|
||||||
# initLua = /* lua */ '' '';
|
# initLua = /* lua */ '' '';
|
||||||
keymap = {
|
keymap = {
|
||||||
@@ -111,7 +113,7 @@
|
|||||||
{ on = "?"; run = "find --previous --smart"; desc = "Find previous file"; }
|
{ on = "?"; run = "find --previous --smart"; desc = "Find previous file"; }
|
||||||
{ on = "n"; run = "find_arrow"; desc = "Go to the next found"; }
|
{ on = "n"; run = "find_arrow"; desc = "Go to the next found"; }
|
||||||
{ on = "N"; run = "find_arrow --previous"; desc = "Go to the previous found"; }
|
{ on = "N"; run = "find_arrow --previous"; desc = "Go to the previous found"; }
|
||||||
# Sortin
|
# Sorting
|
||||||
{ on = [ "," "m" ]; run = [ "sort modified --reverse=no" "linemode mtime" ]; desc = "Sort by modified time"; }
|
{ on = [ "," "m" ]; run = [ "sort modified --reverse=no" "linemode mtime" ]; desc = "Sort by modified time"; }
|
||||||
{ on = [ "," "M" ]; run = [ "sort modified --reverse" "linemode mtime" ]; desc = "Sort by modified time (reverse)"; }
|
{ on = [ "," "M" ]; run = [ "sort modified --reverse" "linemode mtime" ]; desc = "Sort by modified time (reverse)"; }
|
||||||
{ on = [ "," "c" ]; run = [ "sort created --reverse=no" "linemode ctime" ]; desc = "Sort by created time"; }
|
{ on = [ "," "c" ]; run = [ "sort created --reverse=no" "linemode ctime" ]; desc = "Sort by created time"; }
|
||||||
@@ -172,7 +174,7 @@
|
|||||||
{ on = "u"; run = "arrow -5"; desc = "Up in list (fast)"; }
|
{ on = "u"; run = "arrow -5"; desc = "Up in list (fast)"; }
|
||||||
{ on = "d"; run = "arrow 5"; desc = "Down in list (fast)"; }
|
{ on = "d"; run = "arrow 5"; desc = "Down in list (fast)"; }
|
||||||
];
|
];
|
||||||
help = [
|
help.keymap = [
|
||||||
# Help
|
# Help
|
||||||
{ on = "~"; run = "help"; desc = "Open help"; }
|
{ on = "~"; run = "help"; desc = "Open help"; }
|
||||||
{ on = "?"; run = "help"; desc = "Open help"; }
|
{ on = "?"; run = "help"; desc = "Open help"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user