From b2c77965a2be86a051808293332c39aff9037daa Mon Sep 17 00:00:00 2001 From: rootiest Date: Wed, 7 Aug 2024 08:24:38 -0400 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=20refactor(kitty)!:=20rep?= =?UTF-8?q?lace=20kitty-navigator=20with=20smart-splits?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- lua/plugins/terminal.lua | 46 ++++------------------------------------ 1 file changed, 4 insertions(+), 42 deletions(-) diff --git a/lua/plugins/terminal.lua b/lua/plugins/terminal.lua index 9a28bc7..842dff4 100644 --- a/lua/plugins/terminal.lua +++ b/lua/plugins/terminal.lua @@ -59,48 +59,6 @@ return { }) 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 = { - { - "", - function() - require("kitty-navigator").navigateLeft() - end, - desc = "KittyNavigateLeft", - }, - { - "", - function() - require("kitty-navigator").navigateDown() - end, - desc = "KittyNavigateDown", - }, - { - "", - function() - require("kitty-navigator").navigateUp() - end, - desc = "KittyNavigateUp", - }, - { - "", - function() - require("kitty-navigator").navigateRight() - end, - desc = "KittyNavigateRight", - }, - }, - }, { -- Kitty-Runner "jghauser/kitty-runner.nvim", cond = function() -- Using Kitty @@ -215,4 +173,8 @@ return { end end, }, + { -- Smart-Splits + "mrjones2014/smart-splits.nvim", + build = "./kitty/install-kittens.bash", + }, }