Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save greggthomason/3e2daa92a8fbf5a9d604c13dc64db21f to your computer and use it in GitHub Desktop.
Save greggthomason/3e2daa92a8fbf5a9d604c13dc64db21f to your computer and use it in GitHub Desktop.
minimal config snippet to emulate common iterm keystrokes
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