wezterm backlog
This commit is contained in:
parent
7f5533d7b2
commit
ee5c00e084
1 changed files with 33 additions and 0 deletions
|
@ -137,6 +137,30 @@ local config = {
|
||||||
keys = {
|
keys = {
|
||||||
-- disable search (ctrl f = tab)
|
-- disable search (ctrl f = tab)
|
||||||
{key = "f", mods = "CTRL|SHIFT", action = "DisableDefaultAssignment"},
|
{key = "f", mods = "CTRL|SHIFT", action = "DisableDefaultAssignment"},
|
||||||
|
-- launcher
|
||||||
|
{key = "Space", mods = "CTRL|SHIFT", action = "ShowLauncher"},
|
||||||
|
},
|
||||||
|
mouse_bindings = {
|
||||||
|
-- Change the default selection behavior so that it only selects text,
|
||||||
|
-- but doesn't copy it to a clipboard or open hyperlinks.
|
||||||
|
{
|
||||||
|
event={Up={streak=1, button="Left"}},
|
||||||
|
mods="NONE",
|
||||||
|
action=wezterm.action{ExtendSelectionToMouseCursor="Cell"}
|
||||||
|
},
|
||||||
|
-- Don't automatically copy the selection to the clipboard
|
||||||
|
-- when double clicking a word
|
||||||
|
{
|
||||||
|
event={Up={streak=2, button="Left"}},
|
||||||
|
mods="NONE",
|
||||||
|
action="Nop",
|
||||||
|
},
|
||||||
|
-- Ctrl-click will open the link under the mouse cursor
|
||||||
|
{
|
||||||
|
event={Up={streak=1, button="Left"}},
|
||||||
|
mods="CTRL",
|
||||||
|
action="OpenLinkAtMouseCursor",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -147,6 +171,7 @@ if wezterm.target_triple == "x86_64-pc-windows-msvc" then
|
||||||
"Terminus (TTF)",
|
"Terminus (TTF)",
|
||||||
"SijiNGWindows",
|
"SijiNGWindows",
|
||||||
"Unifont",
|
"Unifont",
|
||||||
|
"Noto Emoji",
|
||||||
})
|
})
|
||||||
config.unix_domains = {
|
config.unix_domains = {
|
||||||
{
|
{
|
||||||
|
@ -169,11 +194,19 @@ if wezterm.target_triple == "x86_64-pc-windows-msvc" then
|
||||||
"-no-start","-defterm","-mingw64",
|
"-no-start","-defterm","-mingw64",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
table.insert(config.launch_menu, {
|
||||||
|
label = "cygwin",
|
||||||
|
args = {
|
||||||
|
"D:/Programs/cygwin/bin/bash",
|
||||||
|
"--login",
|
||||||
|
},
|
||||||
|
})
|
||||||
else
|
else
|
||||||
config.font = wezterm.font_with_fallback({
|
config.font = wezterm.font_with_fallback({
|
||||||
"Terminus",
|
"Terminus",
|
||||||
"Siji",
|
"Siji",
|
||||||
"Unifont",
|
"Unifont",
|
||||||
|
"Noto Emoji",
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue