Skip to content

its opening 2 window buffers on launch #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
notfatdan opened this issue Oct 28, 2024 · 9 comments
Open

its opening 2 window buffers on launch #141

notfatdan opened this issue Oct 28, 2024 · 9 comments

Comments

@notfatdan
Copy link

image

@notfatdan
Copy link
Author

if u leave them both open it causes really buggy behaviour when the code editor is open as well and starts deleting stuff when you press ctrl s

kawre added a commit that referenced this issue Oct 28, 2024
@kawre
Copy link
Owner

kawre commented Oct 28, 2024

Seems like it is neovim related issue, but it's fixed for now nonetheless.

@ke-a
Copy link

ke-a commented Nov 23, 2024

image
I met the same problem on the dashboard and the code editor when I stretch the terminal. I use the lastest commit.

@kawre
Copy link
Owner

kawre commented Nov 27, 2024

@ke-a Did you try the temporary fix from neovim/neovim#30976?

@ke-a
Copy link

ke-a commented Dec 1, 2024

Yes,but I met this problem too. And I also met the problem on the coding interface when I stretch the terminal.
image

@kawre
Copy link
Owner

kawre commented Dec 3, 2024

@ke-a Report it there neovim/neovim#30976

@jackchealdang
Copy link

Yes,but I met this problem too. And I also met the problem on the coding interface when I stretch the terminal. image

having this issue as well -- on resize creates a duplicate neovim window

@Carrotww
Copy link

Carrotww commented Feb 19, 2025

Hello, I’m facing the same problem.
For me, the problem part window keeps being split up and down like the picture above. It's fine when i first enter the problem, but if you drastically reduce the window size, it gets split like that.

I’ve tried everything I could find, but I still can't figure it out.
If anyone has solved this issue, please let me know.

i use lunarvim.

@Yanguk
Copy link

Yanguk commented Mar 6, 2025

i think Maybe you use VimResized command "wincmd ="

autocmd("VimResized", {
  pattern = "*",
  command = "tabdo wincmd =",
})

Solution

autocmd("VimResized", {
  pattern = "*",
  callback = function()
    local ft = vim.bo.filetype

    if "leetcode.nvim" ~= ~= vim.fn.argv(0, -1) then
      vim.cmd("tabdo wincmd =")
    end
  end,
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants