[FEATURE] Allow opening terminal without automatically entering insert mode
- Lingua principale
- Lua
- Stelle
- 3.1k
- Fork
- 216
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Feature Description
I would like an option where when I move my cursor to the terminal, it doesn't automatically enters terminal mode but stays in normal mode
## Use Case
I move around a lot and it always trips me up when my navigation buttons do not work anymor because they are trapped by the terminal in neovim.
## Proposed Solution
I tried passing these options, I have also set for the snacks terminal, where they work as expected.
It would nice if it would respect those options by default if they are configured in snacks terminal or pass them like this.
```lua
---@type LazySpec
return {
"coder/claudecode.nvim",
dependencies = { "folke/snacks.nvim" },
opts = {
terminal = {
provider = "snacks",
snacks_win_opts = {
start_insert = true,
auto_insert = false,
auto_close = true,
},
},
},
keys = {
{ "ac", "ClaudeCode", desc = "Toggle Claude Code" },
{ "as", "ClaudeCodeSend", mode = "v", desc = "Send to Claude Code" },
{ "ast", "ClaudeCodeStatus", desc = "Claude Code Status" },
},
}
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.