sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
272 stars 14 forks source link

Add option to hide X on a tab #1896

Open Poldraunic opened 2 months ago

Poldraunic commented 2 months ago

Problem description

I have a lot of repositories open and most of the time I navigate using mouse. I often times missclick on the X button and close tab instead of selecting it. To be fair, I don't need X button at all as CTRL+W does the same and significantly less chance to be missclicked.

Preferred solution

Introduce a setting to hide X button on a tab.

Alternatives

Introduce a hotkey to restore closed tab, similar how it is done in the web browsers.

themilkman commented 2 months ago

FTR, you may restore closed tabs via ctrl+shift+t (the same as e.g. in Firefox)

Poldraunic commented 2 months ago

Huh, I tried that and it didn't work. I can only assume that I misclicked the hotkey combination. Well, regardless, I'd still like to disable this function as I don't really use it.

For some people this can be useful, I understand. Repository tab however is much more permanent object than browser tab. I cycle through hundreds browser pages/tabs a day and maybe 1 repository tab a month.