akinsho / akinsho/bufferline.nvim

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

Aperta
#866 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Lua
Stelle
4.4k
Fork
240
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.