akinsho / akinsho/bufferline.nvim

[Bug]: With bufferline and telescope, buffers open in Insert (a) mode

Abierto
#866 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Lua
Estrellas
4.4k
Forks
240
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Is there an existing issue for this?

- [X] I have searched the existing issues

### What happened?

After setting up bufferline with the minimal configuration (just calling `require('bufferline').setup {}`, opening a new buffer from Telescope (`find_files`) causes the new buffer to automatically open in insert mode, as if "a" was pressed. This doesn't happen with just Telescope, and it doesn't happen with bufferline from netrw.

### What did you expect to happen?

Buffers open in normal mode

### Config

Bufferline:
```lua
{
'akinsho/bufferline.nvim',
version = "*",
dependencies = 'nvim-tree/nvim-web-devicons',
config = function()
require('bufferline').setup {}
end
}
```

Telescope:
```lua
{
'nvim-telescope/telescope.nvim', branch = '0.1.x',
dependencies = { 'nvim-lua/plenary.nvim' },
config = function()
require('telescope').setup {
defaults = {
sorting_strategy = 'ascending',
mappings = {
i = {
[""] = "which_key"
}
},
vimgrep_arguments = {
"rg",
"--color=never",
"--no-heading",
"--with-filename",
"--line-number",
"--column",
"--smart-case",
"--trim"
}
}
}
}
```

### Additional Information

...

### commit

_No response_

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.