From b49a9c20b2baa287deb52f29cdab4612cfd3dacf Mon Sep 17 00:00:00 2001 From: gm Date: Sat, 18 Jul 2026 01:58:37 +0900 Subject: [PATCH] Remove menu/shortcut hint text; add reliable move-tab-to-new-window key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Dropped the "☰ Menu" / "Ctrl+Shift+Click / Ctrl+a m" left-status text per request; the menu still opens the same way, it's just no longer labeled in the tab bar. - Dragging a tab out of the fancy tab bar to pop it into its own window turned out not to work reliably on this WezTerm build. Replaced that expectation with an explicit Leader+Enter keybinding that calls pane:move_to_new_window() (documented mux Pane method), a scripted equivalent that doesn't depend on the drag gesture. Co-Authored-By: Claude Sonnet 5 --- wezterm.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/wezterm.lua b/wezterm.lua index 5e917b7..f65decf 100644 --- a/wezterm.lua +++ b/wezterm.lua @@ -95,15 +95,6 @@ end) local pane_start_times = {} wezterm.on("update-right-status", function(window, pane) - window:set_left_status(wezterm.format({ - { Background = { Color = "#89b4fa" } }, - { Foreground = { Color = "#1e1e2e" } }, - { Text = " ☰ Menu " }, - { Background = { Color = "#313244" } }, - { Foreground = { Color = "#cdd6f4" } }, - { Text = " Ctrl+Shift+Click / Ctrl+a m " }, - })) - local pane_id = pane:pane_id() if not pane_start_times[pane_id] then pane_start_times[pane_id] = os.time() @@ -813,6 +804,15 @@ config.keys = { -- 메인 메뉴: 설정 메뉴와 통합 런처를 다시 표시 { key = "m", mods = "LEADER", action = act.EmitEvent("show-main-menu") }, + -- 현재 탭을 새 창으로 분리 (탭바 드래그 대신 확실하게 동작하는 방법) + { + key = "Enter", + mods = "LEADER", + action = wezterm.action_callback(function(window, pane) + pane:move_to_new_window() + end), + }, + -- [2] 워크스페이스(=tmux 세션) 전환/생성 목록 { key = "w", mods = "LEADER", action = act.ShowLauncherArgs({ flags = "WORKSPACES" }) }, -- [2] SSH 도메인 접속 (config.ssh_domains에 등록한 서버 목록에서 선택)