Exit "terminal" mode #22
Replies: 2 comments
-
Update: Scrolling with my mouse in the Update 2: Seems like my keybinding for exiting the terminal (using LazyVim, |
Beta Was this translation helpful? Give feedback.
-
I added this to my neovim config to remove vim.api.nvim_create_autocmd("BufFilePost", {
group = vim.api.nvim_create_augroup("lazyvim_config_claude-code", { clear = true }),
pattern = {
"*",
},
callback = function()
local buf_name = vim.api.nvim_buf_get_name(0)
if buf_name:match("claude%-code$") then
vim.bo.buflisted = false
end
end,
desc = "Hide Claude Code buffer from buffer list",
}) It might be worth considering making this the default behavior though - not sure I see the benefit of having the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Is there a way to exit "Terminal-mode" when in the
ClaudeCode
window? If I accidentally open theClaudeCode
buffer in another window, I have no way of closing that window without actually ending that instance ofclaude
(e.g. typing "exit" to claude).So I guess two questions:
ClaudeCode
window?ClaudeCode
buffer from the buffer list so I don't accidentally open it when going to the next buffer (e.g.:bnext
)?Beta Was this translation helpful? Give feedback.
All reactions