editor command and keybind not working #132

Closed
opened 2026-02-16 17:25:20 -05:00 by yindo · 2 comments
Owner

Originally created by @nielsjaspers on GitHub (Jun 18, 2025).

Originally assigned to: @adamdotdevin on GitHub.

Since the keybind update, the editor slash-command (and its keybind) has been malfunctioning.

I’m using Ghostty 1.1.3 on macOS 26 Beta and the default OpenCode configuration.

opencode --print-logs
2025-06-18T21:12:41 +14ms service=default version=dev args=--print-logs opencode
2025-06-18T21:12:41 +1ms service=app cwd=/Users/niels/dev/opencode/opencode creating
2025-06-18T21:12:41 +2ms service=app git=/Users/niels/dev/opencode/opencode git
2025-06-18T21:12:41 +1ms service=app name=provider registering service
2025-06-18T21:12:41 +0ms service=app name=config registering service
2025-06-18T21:12:41 +2ms service=config path=/Users/niels/dev/opencode/opencode/opencode.json found
2025-06-18T21:12:41 +0ms service=config $schema=https://opencode.ai/config.json provider=[object Object] mcp=[object Object] loaded
2025-06-18T21:12:41 +0ms service=models.dev refreshing
2025-06-18T21:12:41 +0ms service=provider init
2025-06-18T21:12:41 +2ms service=provider providerID=copilot found
2025-06-18T21:12:41 +0ms service=app name=share registering service
2025-06-18T21:12:41 +0ms service=bus type=storage.write subscribing
2025-06-18T21:12:41 +0ms service=app name=bus registering service
2025-06-18T21:12:42 +485ms service=server method=GET path=/event request
2025-06-18T21:12:42 +0ms service=server event connected
2025-06-18T21:12:42 +2ms service=bus type=* subscribing
2025-06-18T21:12:42 +0ms service=server duration=2 response
2025-06-18T21:12:42 +6ms service=server method=POST path=/provider_list request
             2025-06-18T21:12:42 +1ms service=server duration=1 response
      2025-06-18T21:12:50 +8401ms service=bus type=* unsubscribing
2025-06-18T21:12:50 +1ms service=server event disconnected
Originally created by @nielsjaspers on GitHub (Jun 18, 2025). Originally assigned to: @adamdotdevin on GitHub. Since the keybind update, the editor slash-command (and its keybind) has been malfunctioning. I’m using Ghostty 1.1.3 on macOS 26 Beta and the default OpenCode configuration. ```bash opencode --print-logs ``` ``` 2025-06-18T21:12:41 +14ms service=default version=dev args=--print-logs opencode 2025-06-18T21:12:41 +1ms service=app cwd=/Users/niels/dev/opencode/opencode creating 2025-06-18T21:12:41 +2ms service=app git=/Users/niels/dev/opencode/opencode git 2025-06-18T21:12:41 +1ms service=app name=provider registering service 2025-06-18T21:12:41 +0ms service=app name=config registering service 2025-06-18T21:12:41 +2ms service=config path=/Users/niels/dev/opencode/opencode/opencode.json found 2025-06-18T21:12:41 +0ms service=config $schema=https://opencode.ai/config.json provider=[object Object] mcp=[object Object] loaded 2025-06-18T21:12:41 +0ms service=models.dev refreshing 2025-06-18T21:12:41 +0ms service=provider init 2025-06-18T21:12:41 +2ms service=provider providerID=copilot found 2025-06-18T21:12:41 +0ms service=app name=share registering service 2025-06-18T21:12:41 +0ms service=bus type=storage.write subscribing 2025-06-18T21:12:41 +0ms service=app name=bus registering service 2025-06-18T21:12:42 +485ms service=server method=GET path=/event request 2025-06-18T21:12:42 +0ms service=server event connected 2025-06-18T21:12:42 +2ms service=bus type=* subscribing 2025-06-18T21:12:42 +0ms service=server duration=2 response 2025-06-18T21:12:42 +6ms service=server method=POST path=/provider_list request 2025-06-18T21:12:42 +1ms service=server duration=1 response 2025-06-18T21:12:50 +8401ms service=bus type=* unsubscribing 2025-06-18T21:12:50 +1ms service=server event disconnected ```
yindo closed this issue 2026-02-16 17:25:20 -05:00
Author
Owner

@adamdotdevin commented on GitHub (Jun 19, 2025):

could you describe the malfunctioning more?

@adamdotdevin commented on GitHub (Jun 19, 2025): could you describe the malfunctioning more?
Author
Owner

@nielsjaspers commented on GitHub (Jun 19, 2025):

Never mind, it discovered the problem due to one of the latest updates.
Apparently, I didn’t have the EDITOR set in my environment variables.

Setting this fixed the issue!

@nielsjaspers commented on GitHub (Jun 19, 2025): Never mind, it discovered the problem due to one of the latest updates. Apparently, I didn’t have the `EDITOR` set in my environment variables. Setting this fixed the issue!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#132