akinsho / akinsho/bufferline.nvim

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

Đang mở
#866 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Lua
Star
4.4k
Fork
240
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.