hiasr / vim-zellij-navigator

76 stars 4 forks source link

Panes are merged when moving with "Ctrl" #11

Open steakhutzeee opened 5 months ago

steakhutzeee commented 5 months ago

Hi, noted a thing with the plugin.

Let's say I have a layout like this:

1

I can move without any issues with the default (so not related to the plugin) keys "Alt + arrow keys".

But if with this layout I use the plugin to move and hit "Ctrl + h" then this happens:

2

Oddly this also happens if in the situation of the first picture I hit "Ctrl + j" or "Ctrl + k".

What could be the cause?

steakhutzeee commented 5 months ago

This does not happen if opening Zellij I hit in a series all the key combinations "Ctrl + hjkl". I see something flashing and setting the plugin on screen, very briefly, and after that it works.

Could this be fixed somehow?

hiasr commented 4 months ago

That is indeed very weird, could you send your full config? The behaviour seems to be the same as the Alt+][ keybindings.

steakhutzeee commented 4 months ago

Basically I have to hit all the combinations when I open Zellij, like if it needs to load all the plugin variants. After that it works.

My config https://gist.github.com/steakhutzeee/f88fd14bc4f8a39f569c758b417df08b