Skip to content

Some manpages generate files #50

@WQY916

Description

@WQY916

When I use the vim -c "Man $*" -c "silent only"replacement man provided inside the documentation,Normally, vim will display the title "cmd manpager[-]"
but occasionally the title will display "cmd manpager[+-]", and it does not follow the man operation.
For example, in this case, the q command cannot be used to exit the man interface, and after using ctrl-w+q to exit the man interface, a file named "cmd manpager" will be generated in the current directory.
After I checked the vim documentation, I wrote a command myself: vim -c "r!command man $*" -c "silent file $1 manpager" +MANPAGER. It works fine.
I can't understand the reason of this sporadic problem,However, the manpagers that have this problem when tested on my device are: yt-dlp, jq, scrcpy.

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