Update ' to " and remove phobos.
parent
6f15bd3695
commit
e909a2c826
|
@ -1,126 +1,119 @@
|
||||||
local wezterm = require('wezterm')
|
local wezterm = require("wezterm")
|
||||||
|
|
||||||
return {
|
return {
|
||||||
check_for_updates = false,
|
check_for_updates = false,
|
||||||
color_scheme = 'nordfox',
|
color_scheme = "nordfox",
|
||||||
font = wezterm.font 'Iosevka',
|
font = wezterm.font "Iosevka",
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
key = ' ',
|
key = " ",
|
||||||
mods = 'LEADER|CTRL',
|
mods = "LEADER|CTRL",
|
||||||
action = wezterm.action.ShowLauncher,
|
action = wezterm.action.ShowLauncher,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = '"',
|
key = '"',
|
||||||
mods = 'LEADER|SHIFT',
|
mods = "LEADER|SHIFT",
|
||||||
action = wezterm.action.SplitVertical {
|
action = wezterm.action.SplitVertical {
|
||||||
domain = 'CurrentPaneDomain',
|
domain = "CurrentPaneDomain",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = '%',
|
key = "%",
|
||||||
mods = 'LEADER|SHIFT',
|
mods = "LEADER|SHIFT",
|
||||||
action = wezterm.action.SplitHorizontal {
|
action = wezterm.action.SplitHorizontal {
|
||||||
domain = 'CurrentPaneDomain',
|
domain = "CurrentPaneDomain",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'h',
|
key = "h",
|
||||||
mods = 'LEADER',
|
mods = "LEADER",
|
||||||
action = wezterm.action.ActivatePaneDirection 'Left',
|
action = wezterm.action.ActivatePaneDirection "Left",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'j',
|
key = "j",
|
||||||
mods = 'LEADER',
|
mods = "LEADER",
|
||||||
action = wezterm.action.ActivatePaneDirection 'Down',
|
action = wezterm.action.ActivatePaneDirection "Down",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'k',
|
key = "k",
|
||||||
mods = 'LEADER',
|
mods = "LEADER",
|
||||||
action = wezterm.action.ActivatePaneDirection 'Up',
|
action = wezterm.action.ActivatePaneDirection "Up",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'l',
|
key = "l",
|
||||||
mods = 'LEADER',
|
mods = "LEADER",
|
||||||
action = wezterm.action.ActivatePaneDirection 'Right',
|
action = wezterm.action.ActivatePaneDirection "Right",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'n',
|
key = "n",
|
||||||
mods = 'LEADER',
|
mods = "LEADER",
|
||||||
action = wezterm.action.ActivateTabRelative(1),
|
action = wezterm.action.ActivateTabRelative(1),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'p',
|
key = "p",
|
||||||
mods = 'LEADER',
|
mods = "LEADER",
|
||||||
action = wezterm.action.ActivateTabRelative(-1),
|
action = wezterm.action.ActivateTabRelative(-1),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'c',
|
key = "c",
|
||||||
mods = 'LEADER',
|
mods = "LEADER",
|
||||||
action = wezterm.action.SpawnTab 'CurrentPaneDomain',
|
action = wezterm.action.SpawnTab "CurrentPaneDomain",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
-- Disallow hiding the terminal from the keyboard.
|
-- Disallow hiding the terminal from the keyboard.
|
||||||
key = 'm',
|
key = "m",
|
||||||
mods = 'CMD',
|
mods = "CMD",
|
||||||
action = wezterm.action.DisableDefaultAssignment,
|
action = wezterm.action.DisableDefaultAssignment,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'w',
|
key = "w",
|
||||||
mods = 'LEADER',
|
mods = "LEADER",
|
||||||
action = wezterm.action.ActivateKeyTable {
|
action = wezterm.action.ActivateKeyTable {
|
||||||
name = 'resize_mode',
|
name = "resize_mode",
|
||||||
one_shot = false,
|
one_shot = false,
|
||||||
replace_current = true,
|
replace_current = true,
|
||||||
until_unknown = true,
|
until_unknown = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'z',
|
key = "z",
|
||||||
mods = 'LEADER',
|
mods = "LEADER",
|
||||||
action = wezterm.action.TogglePaneZoomState,
|
action = wezterm.action.TogglePaneZoomState,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
key_tables = {
|
key_tables = {
|
||||||
resize_mode = {
|
resize_mode = {
|
||||||
{
|
{
|
||||||
key = 'q',
|
key = "q",
|
||||||
mods = 'NONE',
|
mods = "NONE",
|
||||||
action = wezterm.action.PopKeyTable,
|
action = wezterm.action.PopKeyTable,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'h',
|
key = "h",
|
||||||
mods = 'NONE',
|
mods = "NONE",
|
||||||
action = wezterm.action.AdjustPaneSize { 'Left', 1 },
|
action = wezterm.action.AdjustPaneSize { "Left", 1 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'j',
|
key = "j",
|
||||||
mods = 'NONE',
|
mods = "NONE",
|
||||||
action = wezterm.action.AdjustPaneSize { 'Down', 1 },
|
action = wezterm.action.AdjustPaneSize { "Down", 1 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'k',
|
key = "k",
|
||||||
mods = 'NONE',
|
mods = "NONE",
|
||||||
action = wezterm.action.AdjustPaneSize { 'Up', 1 },
|
action = wezterm.action.AdjustPaneSize { "Up", 1 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = 'l',
|
key = "l",
|
||||||
mods = 'NONE',
|
mods = "NONE",
|
||||||
action = wezterm.action.AdjustPaneSize { 'Right', 1 },
|
action = wezterm.action.AdjustPaneSize { "Right", 1 },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
leader = {
|
leader = {
|
||||||
key = ' ',
|
key = " ",
|
||||||
mods = 'CTRL',
|
mods = "CTRL",
|
||||||
timeout_milliseconds = 1500,
|
timeout_milliseconds = 1500,
|
||||||
},
|
},
|
||||||
ssh_domains = {
|
|
||||||
{
|
|
||||||
name = 'phobos',
|
|
||||||
remote_address = '144.126.218.252',
|
|
||||||
username = 'jrpotter',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
warn_about_missing_glyphs = false,
|
warn_about_missing_glyphs = false,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue