spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

fix: Add nano and vim editors to devcontainer with default editor configBrowse files
Fixes #2098

- Add nano and vim to provide editor choices for users
- Set EDITOR and VISUAL environment variables to nano as default
- This ensures /memory command and other tools work out of the box

Users can still change their preferred editor by setting these environment variables in their shell configuration.
Masa1984a authored on Jun 15, 2025 parent b6f5078 · commit a6091b65c012
1 changed file+7 -1compared with b6f5078
M.devcontainer/Dockerfile
@@ -19,7 +19,9 @@
1919 iproute2 \
2020 dnsutils \
2121 aggregate \
22- jq
22+ jq \
23+ nano \
24+ vim
2325
2426 # Ensure default node user has access to /usr/local/share
2527 RUN mkdir -p /usr/local/share/npm-global && \
@@ -57,6 +59,10 @@
5759 # Set the default shell to zsh rather than sh
5860 ENV SHELL=/bin/zsh
5961
62+# Set the default editor and visual
63+ENV EDITOR nano
64+ENV VISUAL nano
65+
6066 # Default powerline10k theme
6167 RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.2.0/zsh-in-docker.sh)" -- \
6268 -p git \