Home Download Buy Blog Forum Support

[ solved ] Override click on the close buffer cross

[ solved ] Override click on the close buffer cross

Postby greg on Thu Sep 27, 2012 11:29 pm

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
Last edited by greg on Sat Sep 29, 2012 10:22 am, edited 1 time in total.
greg
 
Posts: 34
Joined: Fri Sep 14, 2012 10:00 am

Re: Override click on the close buffer cross

Postby adzenith on Thu Sep 27, 2012 11:54 pm

You can just not show the x at all and then close the buffer by middle-clicking (or, say, ctrl+w).
adzenith
 
Posts: 1214
Joined: Mon Oct 19, 2009 9:12 pm

Re: Override click on the close buffer cross

Postby greg on Fri Sep 28, 2012 4:49 pm

Sounds great! How do I do that? :)
greg
 
Posts: 34
Joined: Fri Sep 14, 2012 10:00 am

Re: Override click on the close buffer cross

Postby adzenith on Fri Sep 28, 2012 6:31 pm

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,
adzenith
 
Posts: 1214
Joined: Mon Oct 19, 2009 9:12 pm

Re: Override click on the close buffer cross

Postby greg on Sat Sep 29, 2012 10:21 am

Very nice!add this allows more space for filenames :)
greg
 
Posts: 34
Joined: Fri Sep 14, 2012 10:00 am


Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 28 guests