Code Monkey home page Code Monkey logo

vim-mctab's Introduction

vim-mctab

What is does:

  1. displays a very simplified tabline;
  2. provides a toggle tabline mapping (F3);
  3. provides auto-hide of tabline (after 2 seconds of visibility);

The tabline shows the number of the tab with additional "+" character in case one of the buffers in the tab has unsaved changes.

What it requires:

  1. VIM 8+ (uses timer)
  2. "set nocompatible" in .vimrc

How does it look:

Assuming there are 4 tabs, second and forth tabs with unsaved buffers and the second tab currently selected, the tabline will look like this

  1  [ 2+]  3    4+

What is the motivation:

Usually, tablines (standard or from other plugins) show the path of the buffer for the active window. This is fine as long as tabs are used with a single window.

But, when adding various number of splits per tab, this information becomes useless and takes too much space to display. The only real information that a tab with multiple windows can provide is it's number (to navigate quickly to it) and whether there are any unsaved modifications and this is what this plugin is all about.

How to install:

Vundle
Plugin 'mihaicristiantanase/vim-mctab'

vim-plug
Plug 'mihaicristiantanase/vim-mctab'

Pathogen
git clone https://github.com/mihaicristiantanase/vim-mctab ~/.vim/bundle/vim-mctab

vim-mctab's People

Contributors

mihaicristiantanase avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.