ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.83k stars 451 forks source link

Use mouse shut down accidentally. #1135

Closed Cheny-chui closed 6 months ago

Cheny-chui commented 6 months ago

Version confirmation

Following prerequisites

Not a user config issue

Neovim version

NVIM v0.9.4

Operating system/version

macOS 13.5.2 (22G91)

Terminal name/version

iTerm2 Build 3.4.23

$TERM environment variable

No response

Branch info

main (Default/Latest)

Fetch Preferences

HTTPS (use_ssh = false)

How to reproduce the issue

  1. open a project.
  2. open at least two buffer, e.g. file1, file2
  3. open the file explorer
  4. use mouse to close the rightmost buffer (click on the x symbol)

Expected behavior

expect only one buffer close

Actual behavior

the whole nvim shut down

Additional information

No response

Cyberczy commented 6 months ago

look this https://github.com/ayamir/nvimdots/pull/1136