Skip to content

editor_command config entry#2011

Merged
rolandwalker merged 1 commit into
mainfrom
RW/editor-config-entry
Jul 13, 2026
Merged

editor_command config entry#2011
rolandwalker merged 1 commit into
mainfrom
RW/editor-config-entry

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

Add editor.editor_command config entry in ~/.myclirc, which overrides $VISUAL/$EDITOR environment variables if present.

Motivation: the user may want different editors for different applications. It is also a little odd to have to switch from ~/.myclirc for most configuration to environment variables for one little item.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

@rolandwalker rolandwalker self-assigned this Jul 13, 2026
@rolandwalker rolandwalker force-pushed the RW/editor-config-entry branch 3 times, most recently from fda3d97 to 5cd3ca3 Compare July 13, 2026 11:10
Add editor.editor_command config entry in ~/.myclirc, which overrides
$VISUAL/$EDITOR environment variables if present.

Motivation: the user may want different editors for different
applications.  It is also a little odd to have to switch from ~/.myclirc
for most configuration to environment variables for one little item.
@rolandwalker rolandwalker force-pushed the RW/editor-config-entry branch from 5cd3ca3 to 973e3fe Compare July 13, 2026 11:30
@rolandwalker rolandwalker merged commit 89d7ea7 into main Jul 13, 2026
11 checks passed
@rolandwalker rolandwalker deleted the RW/editor-config-entry branch July 13, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant