update mod key
This commit is contained in:
parent
784e434072
commit
44feea9968
1 changed files with 7 additions and 7 deletions
|
@ -82,7 +82,7 @@ config.colors = {
|
||||||
config.disable_default_key_bindings = true
|
config.disable_default_key_bindings = true
|
||||||
|
|
||||||
-- Setup leader key
|
-- Setup leader key
|
||||||
config.leader = { key = "Space", mods = "CTRL", timeout_milliseconds = 1000 }
|
config.leader = { key = "Space", mods = "ALT", timeout_milliseconds = 1000 }
|
||||||
|
|
||||||
-- General keymaps
|
-- General keymaps
|
||||||
config.keys = {
|
config.keys = {
|
||||||
|
@ -97,14 +97,14 @@ config.keys = {
|
||||||
},
|
},
|
||||||
|
|
||||||
{ -- Focus previous tab
|
{ -- Focus previous tab
|
||||||
key = "PageUp",
|
key = "Home",
|
||||||
mods = "CTRL",
|
mods = "ALT",
|
||||||
action = wezterm.action.ActivateTabRelative(-1),
|
action = wezterm.action.ActivateTabRelative(-1),
|
||||||
},
|
},
|
||||||
|
|
||||||
{ -- Focus next tab
|
{ -- Focus next tab
|
||||||
key = "PageDown",
|
key = "End",
|
||||||
mods = "CTRL",
|
mods = "ALT",
|
||||||
action = wezterm.action.ActivateTabRelative(1),
|
action = wezterm.action.ActivateTabRelative(1),
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -164,8 +164,8 @@ config.keys = {
|
||||||
smart_splits.apply_to_config(config, {
|
smart_splits.apply_to_config(config, {
|
||||||
direction_keys = { "LeftArrow", "DownArrow", "UpArrow", "RightArrow" },
|
direction_keys = { "LeftArrow", "DownArrow", "UpArrow", "RightArrow" },
|
||||||
modifiers = {
|
modifiers = {
|
||||||
move = "CTRL",
|
move = "ALT",
|
||||||
resize = "CTRL|ALT",
|
resize = "ALT|CTRL",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue