Skip to content

Cursorをdotfilesから外した - #21

Merged
Ojoxux merged 2 commits into
mainfrom
remove-cursor
Oct 1, 2026
Merged

Ojoxux merged 2 commits into
mainfrom
remove-cursor

Conversation

@Ojoxux

@Ojoxux Ojoxux commented Oct 1, 2026

Copy link
Copy Markdown
Owner

概要

Cursorを使わなくなったので、dotfilesから削除した。

変更

  • modules/cursor.nixとconfig/cursor/(settings、keybindings、拡張機能同期スクリプト)を削除
  • profiles/base.nixのmodules/cursor.nix importを削除
  • profiles/powehi-only.nixのbrewCasks.cursorを削除
  • modules/zsh.nixのcursor用shell integration行を削除
  • Taskfile.yamlのopen:dotfilesの既定エディタをzedに変更

確認

  • nix eval --impure .#darwinConfigurations.powehi.config.system.build.toplevel.drvPathが通ることを確認
  • task apply HOST=powehiを実機で適用済み

🤖 Generated with Claude Code

使わなくなったのでmodules/cursor.nix、config/cursor/、brewCasks.cursor、
zshのshell integration行を削除。open:dotfilesの既定エディタはzedにした。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

I reviewed the full removal of Cursor from the dotfiles. I also checked that nothing in the repo still points at the deleted module, config files, or the cursor CLI.

  • Module and config removal: modules/cursor.nix and all of config/cursor/ are deleted. profiles/base.nix no longer imports the module, so home-manager will clean up the managed symlinks and ~/.local/bin/cursor-* scripts on the next activation.
  • Package removal: brewCasks.cursor is dropped from profiles/powehi-only.nix.
  • zsh shell integration: the line that sourced Cursor's integration script inside TERM_PROGRAM=vscode terminals is gone. VS Code is still installed and handles its own shell integration through auto-injection, so the line isn't needed. Before this PR, the line also ran . "" on machines where cursor was missing.
  • task open:dotfiles default: the default editor is now zed. The zed CLI comes from the host-independent zed cask in modules/darwin.nix, so it's available on check, local, and powehi alike.

ℹ️ Stale mention in AGENTS.md

AGENTS.md:95 still says Codex/Cursor (Codex/Cursorが他のキーを横取りしても) when explaining why flatten-workspace-tree is bound to several keys. The keybindings are still worth keeping because Codex can grab keys too. If you want the docs to match current usage, you could reduce that mention to just Codex. Nothing breaks if you leave it.

Pullfrog  | View workflow run | Using Claude Opus | 𝕏

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Ojoxux
Ojoxux merged commit da55fa4 into main Oct 1, 2026
3 checks passed
@Ojoxux
Ojoxux deleted the remove-cursor branch October 1, 2026 03:25
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