Skip to content

Macvim in console mode hangs with custom viminfo location #752

@chdiza

Description

@chdiza

I have a wrapper script that does exec somestuff "$@", where somestuff calls the Vim binary inside of MacVim. This wrapper's been working fine for a long time, so I don't think it's the problem.

As of (at latest) MacVim 8.1.425, if I call that embedded Vim binary and have the line se vi='20,<0,s10,h,n~/.tmp/viminfo in my vimrc, then Vim will hang if I make some app other than the terminal active and try to click back into the terminal.

If I omit the last part of &vi setting the custom location, there is no hang.

Also, there is no hang at all, ever, using upstream Vim.

The hang happens in both iTerm2 and Terminal.app

This is on High Sierra 10.13.6 and a MacVim built with Xcode 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions