---@type WezTerm local wezterm = require('wezterm') ---@type _.wezterm.ConfigBuilder local config = {} -- color config.color_scheme = 'nord' -- font config.font = wezterm.font('Fira Code') config.font_size = 11 config.harfbuzz_features = { 'ss03' } config.adjust_window_size_when_changing_font_size = false config.hide_tab_bar_if_only_one_tab = true config.tab_bar_at_bottom = true config.quick_select_alphabet = "aoeuisnthd" config.keys = { { key = 'F', mods = 'CTRL', action = wezterm.action.QuickSelectArgs { label = 'open url', patterns = { 'https?://\\S+', }, action = wezterm.action_callback(function (win, pane) local url = win:get_selection_text_for_pane(pane) wezterm.log_info('opening: ' .. url) wezterm.open_with(url, "rifle") end), }, }, { key = 'Enter', mods = 'ALT', action = wezterm.action.DisableDefaultAssignment, }, } return config