From 5626614f814b9fe2449b54c19e5c319600620d1b Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Thu, 17 Dec 2020 21:12:30 +0100 Subject: [PATCH] add wezterm config --- .wezterm.lua | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .wezterm.lua diff --git a/.wezterm.lua b/.wezterm.lua new file mode 100644 index 0000000..72aa8ec --- /dev/null +++ b/.wezterm.lua @@ -0,0 +1,59 @@ +local wezterm = require "wezterm" +local gitbash = {"C:\\Program Files\\Git\\bin\\bash.exe", "-i", "-l"} +return { + color_scheme = "Dracula", + default_prog = gitbash, + keys = { + { + key = "F3", + action = "ShowLauncher", + }, + { + key = "Y", + mods = "CTRL", + action = "Copy", + }, + { + key = "C", + mods = "CTRL", + action = "DisableDefaultAssignment", + }, + { + key = " ", + mods = "CTRL|SHIFT", + action = "ActivateCopyMode", + }, + { + key = "9", + mods = "ALT", + action = "DisableDefaultAssignment", + }, + }, + + ssh_domains = { + { + name = "RPI", + remote_address = "192.168.2.5", + username = "pi", + } + }, + + launch_menu = { + { + label = "Arch WSL", + args = {"wsl", "-d", "Arch"}, + }, + { + label = "Ubuntu WSL", + args = {"wsl", "-d", "Ubuntu-20.04"}, + }, + { + label = "Powershell", + args = {"powershell"}, + }, + { + label = "Git Bash", + args = gitbash, + }, + }, +}