sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Add option to hide X on a tab

Open Poldraunic opened this issue 10 months ago • 2 comments

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.

Poldraunic avatar Apr 15 '24 18:04 Poldraunic

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

themilkman avatar Apr 16 '24 06:04 themilkman

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.

Poldraunic avatar Apr 16 '24 20:04 Poldraunic