Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 3.54 KB

Readme.md

File metadata and controls

72 lines (56 loc) · 3.54 KB

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? FFFFUUUUUU
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: Zen
Or even like this:
Zeeeeeeeeen
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): Tab Browser

  • 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

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