-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.wezterm.lua
More file actions
56 lines (55 loc) · 1.32 KB
/
.wezterm.lua
File metadata and controls
56 lines (55 loc) · 1.32 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
local wezterm = require("wezterm")
return {
-- color_scheme = 'termnial.sexy',
color_scheme = "Catppuccin Mocha",
enable_tab_bar = false,
font_size = 16.0,
max_fps = 120,
font = wezterm.font("JetBrains Mono"),
-- macos_window_background_blur = 40,
macos_window_background_blur = 30,
-- window_background_image = '/Users/omerhamerman/Downloads/3840x1080-Wallpaper-041.jpg',
-- window_background_image_hsb = {
-- brightness = 0.01,
-- hue = 1.0,
-- saturation = 0.5,
-- },
-- window_background_opacity = 0.92,
window_background_opacity = 0.85,
-- window_background_opacity = 0.78,
-- window_background_opacity = 0.20,
window_decorations = "RESIZE",
keys = {
{
key = "f",
mods = "CTRL",
action = wezterm.action.ToggleFullScreen,
},
{
key = "'",
mods = "CTRL",
action = wezterm.action.ClearScrollback("ScrollbackAndViewport"),
},
},
mouse_bindings = {
-- Ctrl-click will open the link under the mouse cursor
{
event = { Up = { streak = 1, button = "Left" } },
mods = "SUPER",
action = wezterm.action.OpenLinkAtMouseCursor,
},
},
-- URL 감지 활성화
hyperlink_rules = {
-- URL 패턴
{
regex = "\\b\\w+://[\\w.-]+\\.[a-z]{2,15}\\S*\\b",
format = "$0",
},
-- 파일 경로 패턴
{
regex = [[\b[a-zA-Z]:[/\\][^/\\:\*\?"<>\|\r\n]+\b]],
format = "$0",
},
},
}