- Add case-insensitive check for 'shared' in session name
- Keep existing check for multiple attached clients
- Add documentation about vim.fn.confirm() keyboard shortcuts
- Update CLAUDE.md with nvdev testing workflow
This ensures the quit warning triggers for any session with 'shared'
in the name, not just sessions with multiple attachments.
Fixes#21🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
Replace `cquit!` with `return` when user chooses 'No' to properly
prevent nvim from quitting in shared tmux sessions.
Previously, clicking 'No' would still force quit nvim due to the
inverted logic using `cquit!` command.
Resolves#8
Implements autocmd that detects when running in a tmux session with multiple
attached clients and prompts user before quitting to prevent disrupting
other users.
Closes#3🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>