♻️ refactor(kitty)!: replace kitty-navigator with smart-splits
Replace the kitty-navigator plugin with the more generally compatible and feature-rich smart-splits plugin. BREAKING CHANGE: This change requires an accompanying change in the kitty config. See the rootiest-kitty repo for changes.
This commit is contained in:
@@ -59,48 +59,6 @@ return {
|
|||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{ -- Kitty-Navigator
|
|
||||||
"MunsMan/kitty-navigator.nvim",
|
|
||||||
build = {
|
|
||||||
"cp navigate_kitty.py ~/.config/kitty",
|
|
||||||
"cp pass_keys.py ~/.config/kitty",
|
|
||||||
},
|
|
||||||
cond = function() -- Using Kitty
|
|
||||||
local term = os.getenv("TERM") or ""
|
|
||||||
local kit = string.find(term, "kitty")
|
|
||||||
return kit ~= nil
|
|
||||||
end,
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
"<C-S-h>",
|
|
||||||
function()
|
|
||||||
require("kitty-navigator").navigateLeft()
|
|
||||||
end,
|
|
||||||
desc = "KittyNavigateLeft",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<C-S-j>",
|
|
||||||
function()
|
|
||||||
require("kitty-navigator").navigateDown()
|
|
||||||
end,
|
|
||||||
desc = "KittyNavigateDown",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<C-S-k>",
|
|
||||||
function()
|
|
||||||
require("kitty-navigator").navigateUp()
|
|
||||||
end,
|
|
||||||
desc = "KittyNavigateUp",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<C-S-l>",
|
|
||||||
function()
|
|
||||||
require("kitty-navigator").navigateRight()
|
|
||||||
end,
|
|
||||||
desc = "KittyNavigateRight",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{ -- Kitty-Runner
|
{ -- Kitty-Runner
|
||||||
"jghauser/kitty-runner.nvim",
|
"jghauser/kitty-runner.nvim",
|
||||||
cond = function() -- Using Kitty
|
cond = function() -- Using Kitty
|
||||||
@@ -215,4 +173,8 @@ return {
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{ -- Smart-Splits
|
||||||
|
"mrjones2014/smart-splits.nvim",
|
||||||
|
build = "./kitty/install-kittens.bash",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user