stevearc / oil.nvim

Neovim file explorer: edit your filesystem like a buffer
MIT License
3.84k stars 110 forks source link

bug: oil.nvim buffer not fix to floating window #332

Open pedro757 opened 6 months ago

pedro757 commented 6 months ago

Did you check the docs and existing issues?

Neovim version (nvim -v)

NVIM v0.10.0-dev-2597+gd326e0486

Operating system/version

linux 6.1

Describe the bug

When opened as floating window you can hit by accident ctrl-o or ctrl-i and the floating window will change to the previous/next buffer in the jumplist, which is somewhat annoying.

Consider using :h winfixbuf option

What is the severity of this bug?

minor (annoyance)

Steps To Reproduce

  1. open oil.nvim as floating window
  2. hit ctrl-o or ctrl-i

Expected Behavior

I would expect the floating window not to change

Directory structure

No response

Repro

not needed

Did you check the bug with a clean config?