akinsho / akinsho/toggleterm.nvim

[Feature Request] [Winbar] Better mouse interaction

未关闭
#329 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Lua
星标
5.6k
派生
206
PR 合并指标
30 天内没有已合并 PR

描述

If I click a #2 in a winbar like this
![image](https://user-images.githubusercontent.com/61115159/195673699-c505c89f-a18d-4955-b551-8a805fc3d9a4.png)
it will open #2 split like this
![image](https://user-images.githubusercontent.com/61115159/195673828-d63db9f5-158a-4d1b-b2ba-e3815eff0897.png)
But I think maybe in most situations, I just want #2 to replace #1 like this
![image](https://user-images.githubusercontent.com/61115159/195674050-d073b845-6bc8-4ac9-989d-bce354650094.png)
Perhaps it is possible to assign different functions to the left and right mouse buttons so that the left button replaces the current terminal, and the right button opens the second terminal split.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。