Skip to content

Instantly share code, notes, and snippets.

@sortofsleepy
Created April 29, 2025 22:02
Show Gist options
  • Save sortofsleepy/e2e45415392c93c0c5b0b1bd50f9d47b to your computer and use it in GitHub Desktop.
Save sortofsleepy/e2e45415392c93c0c5b0b1bd50f9d47b to your computer and use it in GitHub Desktop.
local wezterm = require 'wezterm'
local act = wezterm.action
local config = wezterm.config_builder()
config.color_scheme = 'Aci (Gogh)'
config.enable_scroll_bar = true
config.initial_cols = 120
config.initial_rows = 30
config.keys = {
-- Spawn a new tab
{
key = 't',
mods = 'CTRL',
action = act.SpawnTab 'CurrentPaneDomain'
},
-- Show tab nav
{
key = "t",
mods = "SHIFT|CTRL",
action = act.ShowTabNavigator
},
-- Split current window vertically
{
key = "l",
mods = "CTRL",
action = act.SplitVertical{ domain = "CurrentPaneDomain"}
},
-- Split current window horizontally
{
key = "k",
mods = "CTRL",
action = act.SplitHorizontal{ domain = "CurrentPaneDomain"}
},
}
return config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment