added some keymaps
This commit is contained in:
parent
b199074aa7
commit
7c8ef6d0d6
43
wezterm.lua
43
wezterm.lua
@ -1,4 +1,5 @@
|
||||
local wezterm = require 'wezterm';
|
||||
local act = wezterm.action
|
||||
return {
|
||||
font = wezterm.font("JetBrainsMono Nerd Font Mono"),
|
||||
-- font = wezterm.font("Roboto Mono"),
|
||||
@ -25,4 +26,46 @@ return {
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
key = 'RightArrow',
|
||||
mods = 'SHIFT',
|
||||
action = act.ActivateTabRelative(1)
|
||||
},
|
||||
{
|
||||
key = 'LeftArrow',
|
||||
mods = 'SHIFT',
|
||||
action = act.ActivateTabRelative(-1)
|
||||
},
|
||||
{
|
||||
key = 'LeftArrow',
|
||||
mods = 'ALT',
|
||||
action = act.ActivatePaneDirection 'Left',
|
||||
},
|
||||
{
|
||||
key = 'RightArrow',
|
||||
mods = 'ALT',
|
||||
action = act.ActivatePaneDirection 'Right',
|
||||
},
|
||||
{
|
||||
key = 'UpArrow',
|
||||
mods = 'ALT',
|
||||
action = act.ActivatePaneDirection 'Up',
|
||||
},
|
||||
{
|
||||
key = 'DownArrow',
|
||||
mods = 'ALT',
|
||||
action = act.ActivatePaneDirection 'Down',
|
||||
},
|
||||
{
|
||||
key = '+',
|
||||
mods = 'ALT|SHIFT',
|
||||
action = wezterm.action.SplitVertical,
|
||||
},
|
||||
{
|
||||
key = '_',
|
||||
mods = 'ALT|SHIFT',
|
||||
action = wezterm.action.SplitHorizontal,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user