Skip to content

Instantly share code, notes, and snippets.

@saada
Created June 11, 2024 00:07
Show Gist options
  • Save saada/9f809f05557da9bccceb6da566f11c5d to your computer and use it in GitHub Desktop.
Save saada/9f809f05557da9bccceb6da566f11c5d to your computer and use it in GitHub Desktop.
Wezterm config with iTerm bindings
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
config.color_scheme = 'Dark Pastel'
config.font = wezterm.font('FiraCode Nerd Font', { weight = 'Regular' })
config.font_size = 16
config.default_prog = { '/opt/homebrew/bin/fish', '-l' }
config.keys = {
{
key = 'd',
mods = 'CMD',
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' },
},
{
key = 'd',
mods = 'CMD|SHIFT',
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' },
},
}
return config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment