-
I am trying to get smart-splits to work with kitty.
Then I added the following to my kitty conf file:
This configuration allows me to switch between kitty windows using ctrl+hjkl, but I can't switch between nvim windows. The keystrokes seem to be intercepted by kitty - the plugin isn't activating unless I explicitly run a command to launch it. When the plugin is active, I can navigate only between nvim windows. Meaning if I switch from a kitty window to a nvim window, I can't switch back. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Is there anything relevant in the logs? What versions of Neovim, the plugin, and Kitty are you using? I believe Kitty user variables are a somewhat newish feature so make sure you're using an up-to-date version of Kitty. |
Beta Was this translation helpful? Give feedback.
Hi again, I have some updates.
I came back home to my main linux desktop and started with a fresh install of nvim and lazyvim + smart-splits. I added the lines from README to my kitty config and installed smart-splits using the same snippet. This resulted in me being able to swap between kitty windows - couldn't swap windows inside nvim. I figured out that lazy.nvim wasn't loading the plugin on keystrokes. Setting "lazy" to false inside the plugin configuration got rid of the issue.
Forcing the plugin to load on startup also fixed the issue on my macOS system, where I initially encountered the problem.
Thanks for the help anyways!
new configuration: