akinsho / akinsho/toggleterm.nvim

[Feature Request] [Winbar] Better mouse interaction

Open
#329 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Lua
Stars
5.6k
Forks
206
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.