Skip to content

Add a height option to Copen #177

Open

Description

@shym

copen command can take a height option for the quickfix window and, as far as I can tell, that height is preserved until the next explicit invocation of copen.
Could Copen provide the same option and behaviour?

By the way, for consistency, it would be great for that height to be used also for tmux splits.

Activity

  1. eremite commented on Jun 23, 2017

    @eremite
    let g:dispatch_quickfix_height=20
    let g:dispatch_tmux_height=20
    

    That may not help you, but it helped me.

  2. tpope commented on Jun 23, 2017

    @tpope
    Owner

    Circling back to the original post, I'd entertain a PR that added -count to :Copen.

  3. added a commit that references this issue on Jun 23, 2017
  4. tpope commented on Jun 23, 2017

    @tpope
    Owner

    By the way I'm changing it so you only have to set g:dispatch_quickfix_height, because forcing you to set both options to the same value is a waste of everyone's time.

  5. shym commented on Jul 1, 2017

    @shym
    ContributorAuthor

    When I opened this issue, those configuration variables were not available yet, so I proposed something as close as possible to the standard vim command. But I’ve been using the configuration variables since they were merged in. It’s probably handier to have variables and using copen to adjust the size when needed, by the way.

    Edit: after using for a few days the patch in #207, I find it a nice complement to the setting.

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

Metadata

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