Skip to main content سوق المهارات اكتشف واستكشف مهارات الذكاء الاصطناعي التي بناها المجتمع.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
نسخ Promptعرض تفاصيل Prompt يتجاوز الأمر المباشر Prompt المخصّص للمراجعة. افحص المصدر قبل تشغيله.
npx skills add https://github.com/johnlindquist/claude --skill weztermيبقى الأمر في سطر واحد. مرّر أفقيًا لمراجعته كاملًا قبل النسخ.
تفضّل نسخة محلية؟ نزّل الملفات المتاحة حاليًا لدى SkillsMP.
تحميل Zip جاري التحميل... المهن ذات الصلة SOC
استنادا إلى تصنيف SOC المهني
name wezterm description Configure and customize WezTerm terminal emulator. Use for setting up WezTerm config, themes, keybindings, and advanced features.
WezTerm Configuration
Configure the WezTerm terminal emulator.
Prerequisites
brew install --cask wezterm
Config location: ~/.wezterm.lua or ~/.config/wezterm/wezterm.lua
Basic Configuration
Minimal Config
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
config .font = wezterm.font('JetBrains Mono' )
config .font_size = 14.0
config .color_scheme = 'Catppuccin Mocha'
config .window_padding = {
left = 10 ,
right = 10 ,
top = 10 ,
bottom = 10 ,
}
return config
Font Configuration
config .font = wezterm.font( )
.font = wezterm.font_with_fallback({
,
,
,
})
.font = wezterm.font( , { weight = })
.font_rules = {
{
intensity = ,
font = wezterm.font( , { weight = }),
},
}
'JetBrains Mono'
config
'JetBrains Mono'
'Fira Code'
'Nerd Font Symbols'
config
'JetBrains Mono'
'Medium'
config
'Bold'
'JetBrains Mono'
'Bold'
Color Schemes
config .color_scheme = 'Catppuccin Mocha'
config .colors = {
foreground = '#c0caf5' ,
background = '#1a1b26' ,
cursor_bg = '#c0caf5' ,
selection_bg = '#33467c' ,
ansi = {'#15161e' , '#f7768e' , '#9ece6a' , '#e0af68' , '#7aa2f7' , '#bb9af7' , '#7dcfff' , '#a9b1d6' },
brights = {'#414868' , '#f7768e' , '#9ece6a' , '#e0af68' , '#7aa2f7' , '#bb9af7' , '#7dcfff' , '#c0caf5' },
}
Key Bindings
Custom Keybindings config .keys = {
{ key = 'd' , mods = 'CMD' , action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' } },
{ key = 'd' , mods = 'CMD|SHIFT' , action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' } },
{ key = 'LeftArrow' , mods = 'CMD' , action = wezterm.action.ActivatePaneDirection 'Left' },
{ key = 'RightArrow' , mods = 'CMD' , action = wezterm.action.ActivatePaneDirection 'Right' },
{ key = 'UpArrow' , mods = 'CMD' , action = wezterm.action.ActivatePaneDirection 'Up' },
{ key = 'DownArrow' , mods = 'CMD' , action = wezterm.action.ActivatePaneDirection 'Down' },
{ key = 't' , mods = 'CMD' , action = wezterm.action.SpawnTab 'CurrentPaneDomain' },
{ key = 'w' , mods = 'CMD' , action = wezterm.action.CloseCurrentPane { confirm = true } },
{ key = '=' , mods = 'CMD' , action = wezterm.action.IncreaseFontSize },
{ key = '-' , mods = 'CMD' , action = wezterm.action.DecreaseFontSize },
{ key = '0' , mods = 'CMD' , action = wezterm.action.ResetFontSize },
}
Leader Key
config .leader = { key = 'a' , mods = 'CMD' , timeout_milliseconds = 1000 }
config .keys = {
{ key = 'c' , mods = 'LEADER' , action = wezterm.action.SpawnTab 'CurrentPaneDomain' },
{ key = '|' , mods = 'LEADER' , action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' } },
{ key = '-' , mods = 'LEADER' , action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' } },
}
Advanced Features
Tab Bar Customization config .use_fancy_tab_bar = false
config .tab_bar_at_bottom = true
config .hide_tab_bar_if_only_one_tab = true
wezterm.on('format-tab-title' , function (tab)
local title = tab.tab_title
if title and #title > 0 then
return title
end
return tab.active_pane.title
end )
Startup Actions
wezterm.on('gui-startup' , function (cmd)
local tab, pane, window = mux.spawn_window(cmd or {})
pane:split { direction = 'Right' }
end )
SSH Domains config .ssh_domains = {
{
name = 'my-server' ,
remote_address = 'server.example.com' ,
username = 'user' ,
},
}
Multiplexer
config .unix_domains = {
{ name = 'unix' },
}
config .default_gui_startup_args = { 'connect' , 'unix' }
Useful Snippets
Quick Theme Toggle local function toggle_theme ()
local overrides = window:get_config_overrides() or {}
if overrides.color_scheme == 'Catppuccin Latte' then
overrides.color_scheme = 'Catppuccin Mocha'
else
overrides.color_scheme = 'Catppuccin Latte'
end
window:set_config_overrides(overrides)
end
config .keys = {
{ key = 't' , mods = 'CMD|SHIFT' , action = wezterm.action_callback(toggle_theme) },
}
Background Image config .window_background_image = '/path/to/image.png'
config .window_background_image_hsb = {
brightness = 0.02 ,
saturation = 0.5 ,
}
Status Bar wezterm.on('update-right-status' , function (window, pane)
window:set_right_status(wezterm.format ({
{ Text = wezterm.strftime('%H:%M' ) },
}))
end )
Command Line
wezterm --config-file path/to/config.lua
wezterm connect unix
wezterm ls-colors
wezterm show-keys
wezterm show-keys --lua
wezterm cli list
wezterm cli spawn
wezterm cli split-pane
Best Practices
Start simple - Add features as needed
Use config_builder - Better error messages
Test incrementally - WezTerm reloads on save
Backup your config - Keep in dotfiles repo
Use leader keys - Avoid conflicts with apps
Check logs - wezterm --config-file ~/.wezterm.lua shows errors