Sublime Forum

[ solved ] Override click on the close buffer cross

#1

Hello Community

I always have lots of buffers open therefore a lot of tabs. I use the mouse click to browse between them but as they are very narrow, I often close a buffer instead of selecting it.

Is there a way to remap “click on cross” so that it only closes the buffer for example when “ctrl” is pressed?

TIA

0 Likes

#2

You can just not show the x at all and then close the buffer by middle-clicking (or, say, ctrl+w).

0 Likes

#3

Sounds great! How do I do that? :smile:

0 Likes

#4

I would look in the preferences for something about showing the tab close button, and then set it to false.
“show_tab_close_buttons”: false,

0 Likes

#5

Very nice!add this allows more space for filenames :smile:

0 Likes