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