Last active
June 22, 2024 19:02
-
-
Save gtirloni/13b17055c4cdf694b1154650965560cb to your computer and use it in GitHub Desktop.
wezterm like tilix
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
local wezterm = require 'wezterm' | |
local config = wezterm.config_builder() | |
-- broken | |
config.enable_wayland = false; | |
config.initial_cols = 220 | |
config.initial_rows = 60 | |
config.color_scheme = 'Thayer Bright (Gogh)' | |
config.font = wezterm.font 'JetBrainsMono Nerd Font' | |
config.font_size = 13 | |
config.harfbuzz_features = {"calt=0", "clig=0", "liga=0"} -- disable ligatures | |
config.enable_tab_bar = false | |
config.default_cursor_style = 'BlinkingUnderline' | |
config.cursor_blink_rate = 450 | |
config.cursor_blink_ease_in = 'Constant' | |
config.cursor_blink_ease_out = 'Constant' | |
config.keys = { | |
{ | |
key = 'n', | |
mods = 'CTRL|SHIFT', | |
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' }, | |
}, | |
{ | |
key = 'd', | |
mods = 'CTRL|ALT', | |
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' }, | |
}, | |
{ | |
key = 'r', | |
mods = 'CTRL|ALT', | |
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' }, | |
}, | |
{ | |
key = 'LeftArrow', | |
mods = 'ALT', | |
action = wezterm.action.ActivatePaneDirection 'Left', | |
}, | |
{ | |
key = 'RightArrow', | |
mods = 'ALT', | |
action = wezterm.action.ActivatePaneDirection 'Right', | |
}, | |
{ | |
key = 'UpArrow', | |
mods = 'ALT', | |
action = wezterm.action.ActivatePaneDirection 'Up', | |
}, | |
{ | |
key = 'DownArrow', | |
mods = 'ALT', | |
action = wezterm.action.ActivatePaneDirection 'Down', | |
}, | |
} | |
return config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment