yazi config

This commit is contained in:
Matt Nish-Lapidus 2025-02-12 16:15:41 -05:00
parent b9f9db4a92
commit 09f234a90d
3 changed files with 19 additions and 0 deletions

View file

@ -22,11 +22,17 @@
{ on = "p"; run = "plugin smart-paste"; desc = "Paste into the hovered directory or CWD"; }
{ on = ["g" "l"]; run = "plugin lazygit"; desc = "lazygit"; }
{ on = "F"; run = "plugin jump-to-char"; desc = "jump to char"; }
{ on = "k"; run = "plugin arrow -1"; desc = "up"; }
{ on = "j"; run = "plugin arrow 1"; desc = "down"; }
{ on = "<Up>"; run = "plugin arrow -1"; desc = "up"; }
{ on = "<Down>"; run = "plugin arrow 1"; desc = "down"; }
];
};
settings = {
manager = {
sort_dir_first = false;
linemode = "mtime";
show_symlink = true;
};
opener = {
edit = [
@ -38,6 +44,10 @@
];
};
plugin = {
prepend_preloaders = [
{ name = "/mnt/**"; run = "noop"; }
{ name = "/home/emenel/mnt/**"; run = "noop"; }
];
append_previewers = [
{ name = "*"; run = "file-extra-metadata"; }
{ name = "*.md"; run = "glow"; }