-
-
Notifications
You must be signed in to change notification settings - Fork 41
feat: make claude-code buffer unlisted #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Prevents claude-code terminal buffer from appearing in buffer lists (`:ls`, `:buffers`) by adding 'setlocal nobuflisted' when creating the terminal window. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
WalkthroughThe changes update the changelog to document that terminal buffers are now unlisted by default. The terminal module is modified to explicitly set new terminal buffers as unlisted, preventing them from appearing in buffer lists. Corresponding tests are added to verify this behavior by checking the issued Vim commands. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant TerminalModule
participant Vim
User->>TerminalModule: Call toggle()
TerminalModule->>Vim: Create new terminal buffer
TerminalModule->>Vim: Set bufhidden=hide
TerminalModule->>Vim: Set nobuflisted
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🔇 Additional comments (5)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
I know there was some discussion around this idea, but I don't see it in these comments. I believe it was related to other PRs and work you might have been doing. Can you clarify that for me before we merge this one in? |
why hasn't this been merged? |
I had an accident and multiple fractures with many hospital visits that kept me away. I am starting to catch up now, but I'm pretty slow with only one hand available. On this one I was/am waiting on as reply from @krishna-bala to my last comment to see what we do next. |
@willgoudie @greggh sorry for the delay. My initial concern with merging this was due to other PRs which were adding a feature to enable multiple claude code buffers. Let me review the other open PRs and come back to this one - I will try and merge or close this PR by end of week. |
prevent accidentally closing claude-code session with bufremove commands. greggh/claude-code.nvim#34
prevent accidentally closing claude-code session with bufremove commands. greggh/claude-code.nvim#34
Summary
:ls
output)Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
:ls
command.Bug Fixes
Tests
Documentation