summaryrefslogtreecommitdiff
path: root/mac/.config/yazi/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/yazi/init.lua')
-rw-r--r--mac/.config/yazi/init.lua36
1 files changed, 36 insertions, 0 deletions
diff --git a/mac/.config/yazi/init.lua b/mac/.config/yazi/init.lua
new file mode 100644
index 0000000..e1955d6
--- /dev/null
+++ b/mac/.config/yazi/init.lua
@@ -0,0 +1,36 @@
+if os.getenv("NVIM") then
+ require("toggle-pane"):entry("min-preview")
+end
+
+require("smart-enter"):setup({
+ open_multi = true,
+})
+
+require("full-border"):setup({
+ -- Available values: ui.Border.PLAIN, ui.Border.ROUNDED
+ type = ui.Border.PLAIN,
+})
+
+th.git = th.git or {}
+th.git.modified_sign = "M"
+th.git.deleted_sign = "D"
+require("git"):setup()
+
+require("mactag"):setup({
+ keys = {
+ r = "Red",
+ o = "Orange",
+ y = "Yellow",
+ g = "Green",
+ b = "Blue",
+ p = "Purple",
+ },
+ colors = {
+ Red = "#ee7b70",
+ Orange = "#f5bd5c",
+ Yellow = "#fbe764",
+ Green = "#91fc87",
+ Blue = "#5fa3f8",
+ Purple = "#cb88f8",
+ },
+})