[FEATURE] Allow opening terminal without automatically entering insert mode
- Lenguaje dominante
- Lua
- Estrellas
- 3.1k
- Forks
- 216
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## 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" },
},
}
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza rastreando cómo el proveedor de terminal gestiona el foco y el comportamiento del modo de inserción; después compara los valores solicitados de terminal.snacks_win_opts con la integración existente de snacks. Se considera terminado cuando abrir o enfocar el terminal puede mantener el modo normal mientras se respetan las opciones de terminal configuradas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- lua, neovim
- Área
- tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100