Skip to content

feat(editor): deploy Unix Vim/Neovim entry points safely (#83) - #238

Merged
rebuildup merged 1 commit into
release/rex-remotefrom
83-editor-unix
Nov 23, 2026
Merged

rebuildup merged 1 commit into
release/rex-remotefrom
83-editor-unix

Conversation

@rebuildup

Copy link
Copy Markdown
Owner

Summary

  • Add POSIX Vim/Neovim entry points (home/.vimrc, home/.config/nvim/init.lua) while preserving the Windows %LOCALAPPDATA% entries under home/AppData/.
  • Move the canonical Neovim config to home/vimfiles/nvim/init.lua; both Neovim entry points are byte-identical thin loaders.
  • Make POSIX script/link/script/check skip home/AppData/ via the shared managed-target definition, and make script/link.ps1 skip the POSIX-only editor entries.
  • Reimplements the intent of stale PR feat(editor): Unix entry points + platform-aware linking #84 on the current managed-targets layout without reviving its old diff.

Test plan

  • bun install && bun run typecheck
  • ./script/test (symlink behavior tests passed; POSIX link created ~/.vimrc, ~/.config/nvim/init.lua, ~/vimfiles/nvim/init.lua, and did not create ~/AppData)
  • bun test script/link.windows.test.ts (Windows-only cases skipped on macOS; CI covers windows-latest)
  • Windows-native link.ps1 -Apply and real Vim/Neovim load on each OS at RC freeze

Generated with Devin

Add ~/.vimrc and ~/.config/nvim/init.lua for POSIX while keeping the
Windows %LOCALAPPDATA% entries under home/AppData. Move the canonical
Neovim config to home/vimfiles/nvim/init.lua behind byte-identical thin
loaders, and make POSIX link/check skip AppData while link.ps1 skips the
POSIX-only entry points. Existing unmanaged state is never removed.

Supersedes the stale PR #84 approach on the current managed-targets
layout.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 36 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 536a2d2 and 923ddad.

Files selected for processing: 7

  • README.md
  • home/.config/nvim/init.lua
  • home/.vimrc
  • home/AppData/Local/nvim/init.lua
  • home/vimfiles/nvim/init.lua
  • script/lib/managed-targets.sh
  • script/link.ps1
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@rebuildup
rebuildup merged commit 40b29db into release/rex-remote Nov 23, 2026
4 checks passed
@rebuildup
rebuildup deleted the 83-editor-unix branch November 23, 2026 15:03
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