X Tutup
Skip to content

Ability to configure a default editor for use with gh #308

@jsjoeio

Description

@jsjoeio

Describe the feature or problem you’d like to solve

I used gh pr create (surprised that it defaulted to open my PR from a fork into the upstream repo - it was awesome🤩) and when I went to edit the PR body, it defaulted to nano but I'd prefer it to use vim.

Proposed solution

  1. When a user first install gh prompt them to choose a default editor:
  • nano
  • vim
  1. Let a user specify editor
gh set-editor vim

How will it benefit CLI and its users?

  • it will support nano and vim users ❤️

Additional context

N/A

Metadata

Metadata

Assignees

Labels

enhancementa request to improve CLI

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup