wsl, keybindings, shell integration

master
Felix Pankratz 5 months ago
parent a831d77179
commit 4da6a985ab

@ -50,6 +50,24 @@ config.keys = {
mods = 'LEADER|CTRL', mods = 'LEADER|CTRL',
action = wezterm.action.SendKey { key = 'a', mods = 'CTRL' }, action = wezterm.action.SendKey { key = 'a', mods = 'CTRL' },
}, },
{
key = 'k',
mods = 'ALT',
action = wezterm.action.ScrollToPrompt(-1)
},
{
key = 'j',
mods = 'ALT',
action = wezterm.action.ScrollToPrompt(1)
},
}
config.mouse_bindings = {
{
event = { Down = { streak = 2, button='Left' } },
action = wezterm.action.SelectTextAtMouseCursor 'SemanticZone',
mods = 'SHIFT'
}
} }
config.font = wezterm.font 'JetBrains Mono' config.font = wezterm.font 'JetBrains Mono'
@ -68,5 +86,10 @@ config.inactive_pane_hsb = {
brightness = 0.6, brightness = 0.6,
} }
-- WSL
if wezterm.target_triple == 'x86_64-pc-windows-msvc' then
config.default_domain = 'WSL:Debian'
end
-- and finally, return the configuration to wezterm -- and finally, return the configuration to wezterm
return config return config

Loading…
Cancel
Save