ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Zen Tabs

by travmik ALL

The ultimate plugin for Sublime Text 2/3 to keep your tabs in Zen

Details

  • 1.1.13
  • github.​com
  • github.​com
  • 10 years ago
  • 12 minutes ago
  • 11 years ago

Installs

  • Total 38K
  • Win 22K
  • Mac 9K
  • Linux 6K
Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20
Windows 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 2 0 1 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 2 0
Mac 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
Linux 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

ZenTabs

Zen Tabs is a Sublime Text 2/3 plugin that helps you to keep you tab bar in Zen.
How often do you see something like this? It is useless pice of sh… Isn't it?
Now it stops!
Now you can be in Zen when you are working with Sublime Text.
Focused and with peace in mind.

Your tab bar can always have a look like this:
Or even like this:

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.

Installation

To install this plugin, you have three options:
1. If you have Sublime Package Control installed, simply search for Zen Tabs to install.
2. Clone source code to Sublime Text packages folder Sublime Text 2/Packages.
3. Download archive with the latest release and unpack it to Sublime Text packages folder Sublime Text 2/Packages.

OSX

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
git clone git://github.com/travmik/ZenTabs.git

Linux

cd ~/.config/sublime-text-2/Packages
git clone git://github.com/travmik/ZenTabs.git

Windows

cd "%APPDATA%\Sublime Text 2\Packages"
git clone git://github.com/travmik/ZenTabs.git

Key bindings

Preferences > Package Settings > Zen Tabs > Key Bindings
alt+shif+r - reload settings without restarting sublime
alt+tab - show Tab Browser with opened tabs

Settings

Preferences > Package Settings > Zen Tabs > Settings
* open_tab_limit: Controls the maximum allowed number of tabs. Note that edited or draft tabs are not count towards this limit. The default is 10.
* highlight_modified_tabs: Makes tabs with modified files more visible. True by default.
* show_full_path: Show full path to file in Tab Browser. False by default. Zennn….
After editing don't forget to press alt+shift+r to reload settings.

Tab Browser

To open Tab Browser just press alt+tab(default - can be changed in key-binding):

  • 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

Zen sybols:
^ current opened tab
* modified tab
# read only tab

Features and improvements

Contribution

You can contribute on github.
I always welcome pull requests. Here's some general rules for pull requests to be accepted:
- PEP8 is our coding style guide.
- Please create a branch before sending pull requests.
- Your pull request should be atomic. That is, fix a bug or implementing a feature in one commit instead of multiple commit. This is a recommendation, not a requirement.

Copyright 2011-2013 Stanislav Parfeniuk. Licensed under the MIT License