remove the wezterm nonsense, just use zellij like a normie
This commit is contained in:
parent
e89c6941d3
commit
95e1ee46b1
2 changed files with 90 additions and 90 deletions
72
nix/home-manager/flake.lock
generated
72
nix/home-manager/flake.lock
generated
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"crane": {
|
"crane": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1727974419,
|
"lastModified": 1730652660,
|
||||||
"narHash": "sha256-WD0//20h+2/yPGkO88d2nYbb23WMWYvnRyDQ9Dx4UHg=",
|
"narHash": "sha256-+XVYfmVXAiYA0FZT7ijHf555dxCe+AoAT5A6RU+6vSo=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "37e4f9f0976cb9281cd3f0c70081e5e0ecaee93f",
|
"rev": "a4ca93905455c07cb7e3aca95d4faf7601cba458",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -23,11 +23,11 @@
|
||||||
"rust-analyzer-src": "rust-analyzer-src"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730097176,
|
"lastModified": 1730788380,
|
||||||
"narHash": "sha256-ufvRff76Y19mkRsmx+mAnxKE9A9VaNWC2mVY6TwumOw=",
|
"narHash": "sha256-jzniRMqEjqYC7yyx0nIiiEnQ4xlZQMnA7R6mvyYZER8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "fenix",
|
"repo": "fenix",
|
||||||
"rev": "482b57f3f27a9336e0fbc62fa99ee0f624ccf4d0",
|
"rev": "280efe0e9b7b824518091a5aff76065785f81649",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -114,11 +114,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730016908,
|
"lastModified": 1730633670,
|
||||||
"narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=",
|
"narHash": "sha256-ZFJqIXpvVKvzOVFKWNRDyIyAo+GYdmEPaYi1bZB6uf0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "e83414058edd339148dc142a8437edb9450574c8",
|
"rev": "8f6ca7855d409aeebe2a582c6fd6b6a8d0bf5661",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -204,11 +204,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729999765,
|
"lastModified": 1730604744,
|
||||||
"narHash": "sha256-LYsavZXitFjjyETZoij8usXjTa7fa9AIF3Sk3MJSX+Y=",
|
"narHash": "sha256-/MK6QU4iOozJ4oHTfZipGtOgaT/uy/Jm4foCqHQeYR4=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "0e3a8778c2ee218eff8de6aacf3d2fa6c33b2d4f",
|
"rev": "cc2ddbf2df8ef7cc933543b1b42b845ee4772318",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -262,11 +262,11 @@
|
||||||
"poetry2nix": "poetry2nix"
|
"poetry2nix": "poetry2nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730039146,
|
"lastModified": 1730643939,
|
||||||
"narHash": "sha256-2NF6Wxl0s9rbl05aZcixw3uH6hks4DITGszZLhmj88g=",
|
"narHash": "sha256-WeLdOsqeCp+njIhqqxysfudQumcfAqBzbBLzjOjkWIA=",
|
||||||
"owner": "NixNeovim",
|
"owner": "NixNeovim",
|
||||||
"repo": "NixNeovimPlugins",
|
"repo": "NixNeovimPlugins",
|
||||||
"rev": "1e1e7f80868778ef820df27e28054eb6bf370c60",
|
"rev": "8fc69a29d16d6145c71f2358c78d2a7ef050a941",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -292,11 +292,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730123274,
|
"lastModified": 1730812445,
|
||||||
"narHash": "sha256-kj/6VN+3i7Pwx/TzHTliUNBK0qAFg88mwVjkrBegydg=",
|
"narHash": "sha256-Ze+W/wtEMeI8w9WazlGvOiwg9P7+PyzZk3IapbDIBGs=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9b2bdcc99abfd60ccac074cc63541f757d21ec43",
|
"rev": "263dc0c329c55980df9de0cfae9510b21ac4b942",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -307,11 +307,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726238386,
|
"lastModified": 1729265718,
|
||||||
"narHash": "sha256-3//V84fYaGVncFImitM6lSAliRdrGayZLdxWlpcuGk0=",
|
"narHash": "sha256-4HQI+6LsO3kpWTYuVGIzhJs1cetFcwT7quWCk/6rqeo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "01f064c99c792715054dc7a70e4c1626dbbec0c3",
|
"rev": "ccc0c2126893dd20963580b6478d1a10a4512185",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -397,11 +397,11 @@
|
||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730028316,
|
"lastModified": 1730749868,
|
||||||
"narHash": "sha256-FsPsSjqnqMHBgDdM24DFLw4YOw0mFKYFJBcLaI6CvI8=",
|
"narHash": "sha256-b8UMpLh61z6T4J1NObustAuFGoJiAKBTaPTrEf3Amts=",
|
||||||
"owner": "rust-lang",
|
"owner": "rust-lang",
|
||||||
"repo": "rust-analyzer",
|
"repo": "rust-analyzer",
|
||||||
"rev": "3b3a87fe9bd3f2a79942babc1d1e385b6805c384",
|
"rev": "b51f9bc736dc0472481a47d7c05de2901323e543",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -419,11 +419,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726280639,
|
"lastModified": 1729477859,
|
||||||
"narHash": "sha256-YfLRPlFZWrT2oRLNAoqf7G3+NnUTDdlIJk6tmBU7kXM=",
|
"narHash": "sha256-r0VyeJxy4O4CgTB/PNtfQft9fPfN1VuGvnZiCxDArvg=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "e9f8641c92f26fd1e076e705edb12147c384171d",
|
"rev": "ada8266712449c4c0e6ee6fcbc442b3c217c79e1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -440,11 +440,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728095260,
|
"lastModified": 1730687492,
|
||||||
"narHash": "sha256-X62hA5ivYLY5G5+mXI6l9eUDkgi6Wu/7QUrwXhJ09oo=",
|
"narHash": "sha256-xQVadjquBA/tFxDt5A55LJ1D1AvkVWsnrKC2o+pr8F4=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "d1d2532ab267cfe6e40dff73fbaf34436c406d26",
|
"rev": "41814763a2c597755b0755dbe3e721367a5e420f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -482,11 +482,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "nix",
|
"dir": "nix",
|
||||||
"lastModified": 1729006311,
|
"lastModified": 1730734444,
|
||||||
"narHash": "sha256-1xtKJHu6CFnOhp4snof+WSTwcdPgwIaD6mBODP/cv3w=",
|
"narHash": "sha256-lNgCAphrq3/bYGjgDxEl2rVcer6GnmfWXDhxc+kdYOk=",
|
||||||
"owner": "wez",
|
"owner": "wez",
|
||||||
"repo": "wezterm",
|
"repo": "wezterm",
|
||||||
"rev": "9ddca7bde92090792dbcdc65c1e9897c362196d7",
|
"rev": "51c794ac500a2033b9dc570c71810518bfa667a9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -508,11 +508,11 @@
|
||||||
"rust-overlay": "rust-overlay_2"
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729787428,
|
"lastModified": 1730748983,
|
||||||
"narHash": "sha256-kGSM7b4+X5LObd6AdgQZABU241ZzHGm24xaiy33kwBI=",
|
"narHash": "sha256-72uoWm/34SU5aHgvUJgKqYMhvt4Y9X39bFhcDwVS+P0=",
|
||||||
"owner": "dj95",
|
"owner": "dj95",
|
||||||
"repo": "zjstatus",
|
"repo": "zjstatus",
|
||||||
"rev": "c74e310c35fb7ec6b59a1c73720db4d6d8e236a1",
|
"rev": "d5794fbec93860ead015b0beee70489f50cd87b1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -90,64 +90,64 @@ if wezterm.gui then
|
||||||
table.insert(copy_mode, { key = "k", mods = "CTRL", action = act.CopyMode({ MoveByPage = -0.5 }) })
|
table.insert(copy_mode, { key = "k", mods = "CTRL", action = act.CopyMode({ MoveByPage = -0.5 }) })
|
||||||
table.insert(copy_mode, { key = "j", mods = "CTRL", action = act.CopyMode({ MoveByPage = 0.5 }) })
|
table.insert(copy_mode, { key = "j", mods = "CTRL", action = act.CopyMode({ MoveByPage = 0.5 }) })
|
||||||
end
|
end
|
||||||
config.leader = { key = "a", mods = "CTRL", timeout_milliseconds = 1000 }
|
-- config.leader = { key = "a", mods = "CTRL", timeout_milliseconds = 1000 }
|
||||||
config.keys = {
|
-- config.keys = {
|
||||||
{
|
-- {
|
||||||
key = "|",
|
-- key = "|",
|
||||||
mods = "LEADER|SHIFT",
|
-- mods = "LEADER|SHIFT",
|
||||||
action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }),
|
-- action = act.SplitHorizontal({ domain = "CurrentPaneDomain" }),
|
||||||
},
|
-- },
|
||||||
{
|
-- {
|
||||||
key = "a",
|
-- key = "a",
|
||||||
mods = "LEADER|CTRL",
|
-- mods = "LEADER|CTRL",
|
||||||
action = act.SendKey({ key = "a", mods = "CTRL" }),
|
-- action = act.SendKey({ key = "a", mods = "CTRL" }),
|
||||||
},
|
-- },
|
||||||
{
|
-- {
|
||||||
key = "-",
|
-- key = "-",
|
||||||
mods = "LEADER",
|
-- mods = "LEADER",
|
||||||
action = act.SplitVertical({ domain = "CurrentPaneDomain" }),
|
-- action = act.SplitVertical({ domain = "CurrentPaneDomain" }),
|
||||||
},
|
-- },
|
||||||
{
|
-- {
|
||||||
key = "n",
|
-- key = "n",
|
||||||
mods = "LEADER",
|
-- mods = "LEADER",
|
||||||
action = act.ActivateKeyTable({
|
-- action = act.ActivateKeyTable({
|
||||||
name = "manage_panes",
|
-- name = "manage_panes",
|
||||||
one_shot = false,
|
-- one_shot = false,
|
||||||
timeout_milliseconds = 5000,
|
-- timeout_milliseconds = 5000,
|
||||||
until_unknown = true,
|
-- until_unknown = true,
|
||||||
}),
|
-- }),
|
||||||
},
|
-- },
|
||||||
|
|
||||||
{
|
-- {
|
||||||
key = "Escape",
|
-- key = "Escape",
|
||||||
mods = "LEADER",
|
-- mods = "LEADER",
|
||||||
action = act.ActivateCopyMode,
|
-- action = act.ActivateCopyMode,
|
||||||
},
|
-- },
|
||||||
{ key = "Tab", mods = "LEADER", action = act.QuickSelect },
|
-- { key = "Tab", mods = "LEADER", action = act.QuickSelect },
|
||||||
{ key = "c", mods = "LEADER", action = act.SpawnTab("CurrentPaneDomain") },
|
-- { key = "c", mods = "LEADER", action = act.SpawnTab("CurrentPaneDomain") },
|
||||||
}
|
-- }
|
||||||
config.key_tables = {
|
-- config.key_tables = {
|
||||||
manage_panes = {
|
-- manage_panes = {
|
||||||
{ key = "LeftArrow", action = act.AdjustPaneSize({ "Left", 1 }) },
|
-- { key = "LeftArrow", action = act.AdjustPaneSize({ "Left", 1 }) },
|
||||||
{ key = "h", action = act.AdjustPaneSize({ "Left", 1 }) },
|
-- { key = "h", action = act.AdjustPaneSize({ "Left", 1 }) },
|
||||||
{ key = "h", mods = "SHIFT", action = act.ActivatePaneDirection("Left") },
|
-- { key = "h", mods = "SHIFT", action = act.ActivatePaneDirection("Left") },
|
||||||
|
|
||||||
{ key = "RightArrow", action = act.AdjustPaneSize({ "Right", 1 }) },
|
-- { key = "RightArrow", action = act.AdjustPaneSize({ "Right", 1 }) },
|
||||||
{ key = "l", action = act.AdjustPaneSize({ "Right", 1 }) },
|
-- { key = "l", action = act.AdjustPaneSize({ "Right", 1 }) },
|
||||||
{ key = "l", mods = "SHIFT", action = act.ActivatePaneDirection("Right") },
|
-- { key = "l", mods = "SHIFT", action = act.ActivatePaneDirection("Right") },
|
||||||
|
|
||||||
{ key = "UpArrow", action = act.AdjustPaneSize({ "Up", 1 }) },
|
-- { key = "UpArrow", action = act.AdjustPaneSize({ "Up", 1 }) },
|
||||||
{ key = "k", action = act.AdjustPaneSize({ "Up", 1 }) },
|
-- { key = "k", action = act.AdjustPaneSize({ "Up", 1 }) },
|
||||||
{ key = "k", mods = "SHIFT", action = act.ActivatePaneDirection("Up") },
|
-- { key = "k", mods = "SHIFT", action = act.ActivatePaneDirection("Up") },
|
||||||
|
|
||||||
{ key = "DownArrow", action = act.AdjustPaneSize({ "Down", 1 }) },
|
-- { key = "DownArrow", action = act.AdjustPaneSize({ "Down", 1 }) },
|
||||||
{ key = "j", action = act.AdjustPaneSize({ "Down", 1 }) },
|
-- { key = "j", action = act.AdjustPaneSize({ "Down", 1 }) },
|
||||||
{ key = "j", mods = "SHIFT", action = act.ActivatePaneDirection("Down") },
|
-- { key = "j", mods = "SHIFT", action = act.ActivatePaneDirection("Down") },
|
||||||
|
|
||||||
-- Cancel the mode by pressing escape
|
-- -- Cancel the mode by pressing escape
|
||||||
{ key = "Escape", action = "PopKeyTable" },
|
-- { key = "Escape", action = "PopKeyTable" },
|
||||||
},
|
-- },
|
||||||
copy_mode = copy_mode,
|
-- copy_mode = copy_mode,
|
||||||
}
|
-- }
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
Loading…
Add table
Reference in a new issue