-
|
I'm trying to get the navigation between kitty splits and nvim windows working with return {
{
"mrjones2014/smart-splits.nvim",
lazy = false,
build = "./kitty/install-kittens.bash",
keys = {
{
"<C-h>",
function()
require("smart-splits").move_cursor_left()
end,
mode = { "i", "n", "v" },
desc = "Move to left window",
},
{
"<C-j>",
function()
require("smart-splits").move_cursor_down()
end,
mode = { "i", "n", "v" },
desc = "Move to below window",
},
{
"<C-k>",
function()
require("smart-splits").move_cursor_up()
end,
mode = { "i", "n", "v" },
desc = "Move to upper window",
},
{
"<C-l>",
function()
require("smart-splits").move_cursor_right()
end,
mode = { "i", "n", "v" },
desc = "Move to right window",
},
},
},
}and these are the lines I added to my Additionally I added the launch file: ▶ cat .config/kitty/macos-launch-services-cmdline
-o allow_remote_control=yes --single-instance --listen-on unix:/tmp/mykittyWith this setup I can:
But I cannot move out of the nvim instance back into the kitty split. How can I tell kitty to move to out of nvim? The solution here doesn't do the trick for me as I am already making sure the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
@moCello, are you using the latest plugin version? And could you please provide the content of the ~/.local/state/nvim/smart_splits_nvim/log.txt file? |
Beta Was this translation helpful? Give feedback.
-
|
@moCello, I can see that the plugin is being loaded and it can communicate with Kitty.
And share like the last 10 lines of the log file. |
Beta Was this translation helpful? Give feedback.
@maatthc, your comment got me thinking and I realized that I still had the
vim-tmux-navigatorplugin loaded from my previous setup. I removed it and everything works like a charm :)The file
.config/kitty/macos-launch-services-cmdlineis also not needed anymore.Thank you so much for thinking along!