Home Download Buy Blog Forum Support

Zen Tabs

Zen Tabs

Postby travmik on Sat Sep 14, 2013 7:30 pm

I build Zen Tabs(https://sublime.wbond.net/packages/Zen%20Tabs) plugin because I tired of mess in my tab bar. Zen Tabs automatically closes older tab when you open a new one, so you don't overreach a configurable limit. Its target is focus and peace of mind - Zen. ;)

Spoiler
How often do you see something like this? It is useless pice of sh… Isn't it?
Image

Now it stops!
Now you can be in Zen when you are working with Sublime Text.
Your tab bar can always have a look like this:
Image

Or even like this:
Image

You have to do nothing for this. You just need to install this package, set opened tabs limit(default 10) and enjoy.
When you will open 11th tab the oldest one will be closed. And don't worry it will never close any tab with unsaved work. If you have nothing but tabs with unsaved work, it will just ignore the limit and create a new tab anyway.

Recently I've added one more feature - Tab Browser. It is "quick panel" with opened tabs in it. To open Tab Browser just press alt+tab :
Image

  • you can proceed to push alt+tab and move through tabs
  • you can use arrow keys to move through tabs
  • you can start typing name of tab to filter items in panel
I've already had a plan of possible improvements(https://github.com/travmik/ZenTabs/blob/master/TODO.todo) - but if you are interesting in or have some ideas how to improve it - I always welcome it.
Zen Tabs: ST2 / ST3
travmik
 
Posts: 13
Joined: Sun Mar 03, 2013 4:25 pm

Re: Zen Tabs

Postby quodlibet on Sun Sep 15, 2013 2:53 pm

It seems not to be working on ST3 . . . ?
quodlibet
 
Posts: 553
Joined: Sat Jun 18, 2011 5:53 pm

Re: Zen Tabs

Postby travmik on Sun Sep 15, 2013 4:12 pm

Uh oh. :shock:
I will check tomorrow!
travmik
 
Posts: 13
Joined: Sun Mar 03, 2013 4:25 pm

Re: Zen Tabs

Postby travmik on Mon Sep 16, 2013 12:04 pm

Seems like I fixed issue with ST3.

@quodlibet thank you for your report 8-)
Zen Tabs: ST2 / ST3
travmik
 
Posts: 13
Joined: Sun Mar 03, 2013 4:25 pm

Re: Zen Tabs

Postby quodlibet on Mon Sep 16, 2013 1:15 pm

Yup. Thank you! The plugin looks great. It may be useful to "pin" tabs which contain files you may be constantly referring to, such as TODOs, outlines, etc. so that Zen Tabs will never close them automatically. But that might be too much of a hassle.
quodlibet
 
Posts: 553
Joined: Sat Jun 18, 2011 5:53 pm

Re: Zen Tabs

Postby travmik on Mon Sep 16, 2013 1:38 pm

Thank you.

I've already had such functionality in TODO - https://github.com/travmik/ZenTabs/blob/master/TODO.todo. I also would like to have something like favourites tabs.
So to add tabs to some unclosable list is not a problem but I still don't know how to visually mark such tabs. Without marking tabs this feature will be unusable. :(

If somebody has idea how to solve it I will be very appreciate.
Zen Tabs: ST2 / ST3
travmik
 
Posts: 13
Joined: Sun Mar 03, 2013 4:25 pm

Re: Zen Tabs

Postby dungpt on Wed Sep 18, 2013 2:29 am

I tried your plugin on ST3 , but after install, I couldn't change package settings or key bingding. :(
dungpt
 
Posts: 4
Joined: Fri Nov 30, 2012 9:11 am

Re: Zen Tabs

Postby travmik on Wed Sep 18, 2013 7:09 am

will check it!

thank you
Zen Tabs: ST2 / ST3
travmik
 
Posts: 13
Joined: Sun Mar 03, 2013 4:25 pm

Re: Zen Tabs

Postby travmik on Wed Sep 18, 2013 1:45 pm

Fixed. Soon in your editors 8-)

UPDATE: already has released v1.1.6 - enjoy! ;)
Zen Tabs: ST2 / ST3
travmik
 
Posts: 13
Joined: Sun Mar 03, 2013 4:25 pm

Re: Zen Tabs

Postby RossWilliamson on Wed Sep 18, 2013 5:51 pm

Am I doing something stupid?

I just installed Zen Tabs 1.1.6 on ST2, but it doesn't seem to be working. When I restart Sublime, I see this in the console:
Traceback (most recent call last):
File "./sublime_plugin.py", line 62, in reload_plugin
File "./ZenTabs.py", line 19, in <module>
sublime.active_window().run_command('zen_tabs_reload')
AttributeError: 'NoneType' object has no attribute 'run_command'

Any pointers?
RossWilliamson
 
Posts: 1
Joined: Wed Sep 18, 2013 5:49 pm

Next

Return to Plugin Announcements

Who is online

Users browsing this forum: Google [Bot] and 7 guests