Skip to content

Add tmux and Vim Dev Container Features with host config sharing - #2

Merged
temeteke merged 5 commits into
mainfrom
feat/tmux-vim-features
Oct 17, 2026
Merged

temeteke merged 5 commits into
mainfrom
feat/tmux-vim-features

Conversation

@temeteke

@temeteke temeteke commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add independent tmux and vim Dev Container Features that install the relevant Debian/Ubuntu packages.
  • Use standard host dotfile paths:
    • tmux: ~/.tmux.conf → container ~/.tmux.conf (read-only)
    • Vim: ~/.vimrc → container ~/.vimrc (read-only)
    • Vim: ~/.vim/ → container ~/.vim/ (read-write)
  • Support Vim configurations that manage plugins and runtime/undo data inside ~/.vim/.
  • Make post-create setup idempotent and refuse to replace unrelated existing configuration.
  • Keep setup scripts focused on real Dev Container mount paths, without test-only overrides.
  • Include usage documentation and lightweight JSON/shell syntax validation only. No custom configuration-link test harness.

Requirements and security considerations

  • The bind-mount sources ~/.tmux.conf, ~/.vimrc and ~/.vim/ must exist on the host before starting a container.
  • Neither Feature mounts the host HOME directory as a whole.
  • Writable ~/.vim/ permits container processes to modify host Vim configuration and plugins; this is an explicit exception to workspace-only isolation.
  • Optional files such as ~/.vimrc.local are not mounted automatically.
  • The install scripts require Debian/Ubuntu (apt-get).

Verification

  • GitHub Actions validates Feature metadata JSON and Bash script syntax.
  • Container lifecycle, host mount permissions, and actual tmux/Vim startup remain unverified; test through a real Dev Container before merging.

@temeteke
temeteke merged commit 2f8f893 into main Oct 17, 2026
1 check passed
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