Skip to content

Improve CLI usage errors to hint about nvim vs. gnvim flags #99

Closed
@dbarnett

Description

vim and neovim support a few flags for opening multiple files, -d for opening in side-by-side diff mode, -o/-O for opening multiple windows stacked vertically/horizontally, -p to open in multiple tabs, etc. gnvim supports opening splits and diffs from within nvim after starting it, but doesn't support those multiple-file options. If I try to pass flags like that when launching gnvim, I get errors like error: Found argument '-d' which wasn't expected, or isn't valid in this context.

Is it intentional not to support those flags, or could they be added?

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

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions