docs: update instructions to enforce usage of auto-spawning headless neovim instance
This commit is contained in:
1 parent
914cecbaf2
commit
e5d4002b38
2 files changed
+2
-2
No files matched your search
@@ -28,4 +28,4 @@ If you need to access *any* Neovim API that does not have a dedicated tool (e.g.
|
||||
4. **Buffer Focus:** When making changes to a specific buffer, always ensure the active window is switched to that buffer, and optionally move the cursor so the human can see the change visually.
|
||||
|
||||
## 3. The "Unix is NOT King" Rule
|
||||
When Neovim is running and you need to perform file read/writes or search and replace within an opened project, **prioritize Neovim tools over basic unix terminal utilities** (like `cat`, `grep`, `sed`, `awk`, or PowerShell equivalents). Use Neovim as your primary interface to the codebase.
|
||||
You should **ALWAYS prioritize Neovim tools over basic unix terminal utilities** (like `cat`, `grep`, `sed`, `awk`, or PowerShell equivalents) for file read/writes and search/replace. If an interactive Neovim session is not currently open, the server will automatically spawn a persistent headless Neovim daemon in the background to execute your commands. Use Neovim as your primary AST-aware interface to the codebase at all times.
|
||||
Reference in new issue
Block a user