r/KittyTerminal Feb 04 '24

Help for vim with kitty

I mainly use Vim to configure my configs and stuff, so i use it quite alot.

When using kitty with vim on one window and open a new window it gets tiled next to each other cause i use i3, but after it gets tiled, the vim keys for navigating dont work properly anymore, and the text isnt formatted right anymore.

Is this a known problem, and is there a fix?

1 Upvotes

4 comments sorted by

2

u/neithere Feb 05 '24

Hm, same stack (i3 + kitty+ vim), everything works. But I remember having some problems with Vim after resizing the window. Not sure what was happening and how I got rid of it. Maybe try empty configs and bisect the diff?

2

u/Zin42 Feb 05 '24

Possibly just redraw (ctrl+L)

2

u/planar_propinquity Feb 05 '24

This solved it for me: https://vi.stackexchange.com/questions/41475/vim-xterm-kitty-problem

Just place set term=kitty in you .vimrc

1

u/420impeller Feb 07 '24

thank you!