Add Ctrl+Shift+double-click as a mouse alternative to move tab to new window

Plain double-click is already the word-selection gesture inside a
pane, so binding the new-window action there would break normal text
selection. Reusing the Ctrl+Shift modifier convention already proven
to work for the menu-open binding avoids that collision.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-18 02:01:25 +09:00
parent b49a9c20b2
commit eee72ba105

View File

@@ -863,6 +863,14 @@ config.mouse_bindings = {
mods = "CTRL", mods = "CTRL",
action = act.OpenLinkAtMouseCursor, action = act.OpenLinkAtMouseCursor,
}, },
{
-- 수정키 없는 더블클릭은 단어 선택 제스처라 겹치지 않게 Ctrl+Shift로 묶음
event = { Up = { streak = 2, button = "Left" } },
mods = "CTRL|SHIFT",
action = wezterm.action_callback(function(window, pane)
pane:move_to_new_window()
end),
},
} }
-- [3] Quick select 패턴 추가 (기본 URL/git hash 외에 IP주소, K8s pod명 등 추가 가능) -- [3] Quick select 패턴 추가 (기본 URL/git hash 외에 IP주소, K8s pod명 등 추가 가능)