feat(yazi): added lg on ;
swapped default : and ; behaivor
This commit is contained in:
1 parent
4a84ee5711
commit
c70a2212d7
2 files changed
+18
-6
No files matched your search
@@ -16,18 +16,18 @@
|
||||
mgr = {
|
||||
ratio = [ 1 2 3 ];
|
||||
sort_by = "alphabetical";
|
||||
sort_dir_first = true;
|
||||
sort_dir_first = true;
|
||||
};
|
||||
preview = {
|
||||
max_width = 10000;
|
||||
max_height = 10000;
|
||||
max_height = 10000;
|
||||
};
|
||||
tasks = {
|
||||
image_bound = [ 65000 65000 ];
|
||||
};
|
||||
open = {
|
||||
prepend_rules = [
|
||||
{ mime = "video/*"; use = "open"; }
|
||||
{ mime = "video/*"; use = "open"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
@@ -38,6 +38,16 @@
|
||||
run = ''shell 'wl-copy --type "$(file --mime-type -b "$1")" < "$1"' --confirm'';
|
||||
desc = "Copy file data to clipboard with matching MIME type";
|
||||
}
|
||||
{
|
||||
on = ";";
|
||||
run = "shell --interactive --block";
|
||||
desc = "Run a shell command (block until finish)";
|
||||
}
|
||||
{
|
||||
on = ":";
|
||||
run = "shell --interactive";
|
||||
desc = "Run a shell command (yazi background)";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user