Created
March 23, 2026 00:12
-
-
Save dkmin/170053a83254948c86e7c21763507a45 to your computer and use it in GitHub Desktop.
WezTerm config - Catppuccin Mocha, transparent, Shift+Enter newline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local wezterm = require 'wezterm' | |
| local config = wezterm.config_builder() | |
| config.window_background_opacity = 0.7 | |
| config.macos_window_background_blur = 0 | |
| config.font_size = 15 | |
| config.color_scheme = 'Catppuccin Mocha' | |
| -- Ctrl+Shift+N 으로 N번째 윈도우 전환 | |
| local act = wezterm.action | |
| config.keys = { | |
| -- Shift+Enter → newline (Claude Code 멀티라인 입력용) | |
| { | |
| key = 'Enter', | |
| mods = 'SHIFT', | |
| action = act.SendString('\n'), | |
| }, | |
| } | |
| for i = 1, 9 do | |
| table.insert(config.keys, { | |
| key = tostring(i), | |
| mods = 'CTRL|SHIFT', | |
| action = act.ActivateWindow(i - 1), | |
| }) | |
| end | |
| -- 파일 경로 클릭 시 기본 앱으로 열기 | |
| config.hyperlink_rules = wezterm.default_hyperlink_rules() | |
| table.insert(config.hyperlink_rules, { | |
| regex = [[(/[\w./-]+\.[\w]+)]], | |
| format = 'file://$1', | |
| }) | |
| return config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment