Skip to content

vim-9.0: The autoclose functionality is not behaving correctly #851

Open
@raven42

Description

In the s:HandleOnlyWindow() routine, currently the autoclose is not behaving correctly. With the introduction of vim-9.0 (patch-9.0.907) the quit while inside an autocmd no longer functions.

Have started a fix for this to use the feedkeys(), however that doesn't handle each case. It issues the :quit no matter what even in an E173 (Additional files open), and just blows the windows away regardless. We may have to do away with the autoclose and instead guide users to a more streamlined option like this:

autocmd QuitPre * qa

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugvim-9.0Any issues that pertain only to vim-9.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions