Skip to content
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

netrw interferes with "vertical resize" during startup #74

Open
saccarosium opened this issue Jan 18, 2025 · 0 comments
Open

netrw interferes with "vertical resize" during startup #74

saccarosium opened this issue Jan 18, 2025 · 0 comments

Comments

@saccarosium
Copy link
Owner

Problem

Loading netrwPlugin.vim at startup causes the fact that using :vertical resize while opening 2 (or more) windows at startup doesn't work completely as the second window will be, for a reason I ignore, forced to take a minimum vertical size.

Steps to reproduce

nvim -u NORC -c 'vnew' -c 'vertical resize'

This will load the netrwPlugin.vim file and gives us a vim session like this:

with

Move the netrwPlugin.vim file out of the runtime (on my system it is in /usr/share/nvim/runtime/plugin/netrwPlugin.vim). This will solve the issue and the left window will be take full size of screen, when running the above command line again:

without

Expected behavior

The second image is the expected behavior even when loading netrwPlugin.vim

Neovim version (nvim -v)

0.9.2

Vim (not Nvim) behaves the same?

don't have vim

Operating system/version

Arch Linux (kernel 6.1.52-1-lts)

Terminal name/version

All Terminals tested (wezterm, termite, xterm, ...)

$TERM environment variable

xterm-256color

Installation

pacman

original issue: neovim/neovim#25167

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

1 participant