make wezterm.lua more readable

This commit is contained in:
JesseBot 2023-05-20 17:31:21 +02:00
parent 02347b87fd
commit 1b0edf5b6a
No known key found for this signature in database
GPG key ID: C01D207CE04D55D9

View file

@ -29,12 +29,14 @@ return {
mods = 'CTRL',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
},
-- Make Option-Left equivalent to Alt-b which many line editors interpret as backward-word
{
key = 'LeftArrow',
mods = 'OPT',
action = act.SendString '\x1bb'
},
-- Make Option-Right equivalent to Alt-f; forward-word
{
key = 'RightArrow',
@ -44,8 +46,6 @@ return {
},
-- default terminal colors
colors = {
background = '#232336',