Created
May 21, 2024 19:04
-
-
Save greggthomason/3e2daa92a8fbf5a9d604c13dc64db21f to your computer and use it in GitHub Desktop.
minimal config snippet to emulate common iterm keystrokes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.keys = { | |
{ | |
key = 'd', | |
mods = 'CMD', | |
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' } | |
}, | |
{ | |
key = 'd', | |
mods = 'CMD|SHIFT', | |
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' } | |
}, | |
{ | |
key = 'F1', | |
action = wezterm.action.ShowTabNavigator | |
}, | |
{ | |
key = 'k', | |
mods = "CMD", | |
action = wezterm.action.Multiple { | |
wezterm.action.ClearScrollback 'ScrollbackAndViewport', | |
wezterm.action.SendKey { key = 'L', mods = 'CTRL' }, | |
} | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment