feat: e on the status pane edits the config #55

Merged
keb merged 2 commits from edit-config into main 2026-10-13 13:03:43 +02:00
Owner

e on the status pane (0) opens your config file, as in lazygit's status panel. The status footer shows it as e edit config. There's no global key. It opens the config the same way e opens a local file:

  • inside nvim, in that nvim (lazysecrets quits);
  • otherwise in $VISUAL or $EDITOR, coming back after;
  • otherwise in the system's default app.

It opens the first config file: your own, also when --config layers several. A config that doesn't exist yet is created with a comment linking to its docs. Closing the editor says "restart lazysecrets to use it", since the config is read at startup.

Docs: keys.md (status pane) and config.md. Tested: the default app with a new config, nvim with an existing one left unchanged, the restart message, and the footer.

🤖 Generated with Claude Code

`e` on the status pane (`0`) opens your config file, as in lazygit's status panel. The status footer shows it as `e edit config`. There's no global key. It opens the config the same way `e` opens a local file: - inside nvim, in that nvim (lazysecrets quits); - otherwise in `$VISUAL` or `$EDITOR`, coming back after; - otherwise in the system's default app. It opens the first config file: your own, also when `--config` layers several. A config that doesn't exist yet is created with a comment linking to its docs. Closing the editor says "restart lazysecrets to use it", since the config is read at startup. Docs: keys.md (status pane) and config.md. Tested: the default app with a new config, nvim with an existing one left unchanged, the restart message, and the footer. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
keb added 1 commit 2026-10-13 12:55:04 +02:00
feat: E edits the config file
CI / Checks (pull_request) Successful in 24s
PR title / Conventional title (pull_request) Successful in 2s
765f9f6aea
E opens your config like e opens a file: in the nvim lazysecrets runs
in, else in $VISUAL or $EDITOR, else in the system's default app. A
missing config is made first, with a link to its docs. Closing the
editor says to restart lazysecrets to use the changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
keb added 1 commit 2026-10-13 13:00:28 +02:00
feat: e on the status pane edits the config, as in lazygit
CI / Checks (pull_request) Successful in 25s
PR title / Conventional title (pull_request) Successful in 1s
afaf7ac567
Instead of a global E: e on the status pane opens the config, shown
in its footer as "e edit config".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
keb changed title from feat: E edits the config file to feat: e on the status pane edits the config 2026-10-13 13:00:28 +02:00
keb merged commit 2044341b20 into main 2026-10-13 13:03:43 +02:00
keb deleted branch edit-config 2026-10-13 13:03:43 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: keb/lazysecrets#55