-
I've created the following wezterm configuration: local wezterm = require 'wezterm';
return {
disable_default_key_bindings = true,
font_size = 14,
leader = {key="a", mods="CTRL", timeout_milliseconds=1000},
keys = {
{ key="1", mods="LEADER", action=wexterm.action{ActivateTab=0}},
{ key="2", mods="LEADER", action=wexterm.action{ActivateTab=1}},
{ key="3", mods="LEADER", action=wexterm.action{ActivateTab=2}},
{ key="4", mods="LEADER", action=wexterm.action{ActivateTab=3}},
{ key="5", mods="LEADER", action=wexterm.action{ActivateTab=4}},
{ key="6", mods="LEADER", action=wexterm.action{ActivateTab=5}},
{ key="7", mods="LEADER", action=wexterm.action{ActivateTab=6}},
{ key="8", mods="LEADER", action=wexterm.action{ActivateTab=7}},
{ key="c", mods="LEADER", action=wezterm.action{SpawnTab="CurrentPaneDomain"}},
}
} But this doesn't work, causing wezterm Conf to spit out the following: runtime error: [string "/Users/kevinsjoberg/.config/wezterm/wezterm.l..."]:10:
attempt to index a nil value (global 'wexterm')
stack traceback:
[string "/Users/kevinsjoberg/.config/wezterm/wezterm.l..."]:10: in main
chunk If I remove the |
Beta Was this translation helpful? Give feedback.
Answered by
hovsater
Jun 9, 2021
Replies: 1 comment
-
Just realised my mistake. I misspelled |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hovsater
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just realised my mistake. I misspelled
wezterm
aswexterm
. Working now!