Skip to content

Instantly share code, notes, and snippets.

@Josyto
Created October 14, 2022 09:59
Show Gist options
  • Save Josyto/ce27f9ac3b52cb3b9d717cafff72a724 to your computer and use it in GitHub Desktop.
Save Josyto/ce27f9ac3b52cb3b9d717cafff72a724 to your computer and use it in GitHub Desktop.
Wez's terminal personal config
-- After installing wezterm, create the file in $HOME/.wezterm.lua -> Windows -> C:/Users/youruser/.wezterm.lua. Linux -> /home/youruser/.wezterm.lua
-- Info about config file https://wezfurlong.org/wezterm/config/files.html
local wezterm = require("wezterm")
return {
-- Default CLI and CWD
default_prog = {"C:\\Program Files\\Git\\bin\\bash.exe", "-l"},
default_cwd = wezterm.home_dir .. "/Desktop/Proyectos",
-- Shortcuts
keys = {
{
key = "w",
mods = "CTRL",
action = wezterm.action.CloseCurrentPane {confirm = false}
},
{
key = "RightArrow",
mods = "CTRL|SHIFT",
action = wezterm.action.SplitHorizontal {domain = "CurrentPaneDomain"}
},
{
key = "DownArrow",
mods = "CTRL|SHIFT",
action = wezterm.action.SplitVertical {domain = "CurrentPaneDomain"}
}
},
-- Styles
window_background_opacity = 0.92,
color_scheme = "Material (Gogh)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment