summaryrefslogtreecommitdiff
path: root/mac/.config/yazi/init.lua
blob: 9d6b9ed021eb15bb4b25c21a6127142fa70d5cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
if os.getenv("NVIM") then
	require("toggle-pane"):entry("min-preview")
end

require("smart-enter"):setup({
	open_multi = true,
})

require("full-border"):setup({
	type = ui.Border.PLAIN, -- or ui.Border.ROUNDED
})

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",
	},
})