Giter Site home page Giter Site logo

vim-ultitabs's Introduction

UltiTabs

Contents

Introduction

This plugins relates to all three definitions of tabs, including the character and the key. It improves a lot of things relating to tabs. First, it changes how :tabclose works. Then, it adds a couple of keybindings relating to tabs. Additionally, it automatically numbers tabs if you use vim-airline.

Changes

TabClose

The TabClose command is added which is a better version of Vim’s original tabclose. tabclose is abbreviated to TabClose, so you do not have to worry about your muscle memory. Anyways, it adds plenty of options that I believe should be included by default in Vim.

You can use <, l, or left as an argument to close all the tabs to the left. The same is true for the right. You can close multiple tabs by separating them by commas or spaces (e.g. 2,4 or 2 4). Similarly, you can specify a range of tabs by using a hyphen (e.g. 2-4).

Keybindings

You can go to any tab by its number by using <Leader>N, where N is the number you wish to go to. You can use <Leader>0 to return to the last tab. The default Leader key is \, but you can change it using map mapleader = ',' as an example. If you use the Tabular plugin, <Leader><Tab> is mapped to Tabularize.

Tab numbers

If you use the vim-airline plugin, the airline tab extension will automatically be enabled. Additionally, it will show the tab number on each tab. This can help you with the keybindings mentioned before. I strongly recommend installing the airline plugin. Support for numbering tabs without airline will hopefully come in the future.

Installation

Vim

`# user` git clone https://github.com/amarakon/nvim-sensible ~/.vim/pack/vendor/start/nvim-sensible

Neovim

`# user` git clone https://github.com/amarakon/nvim-sensible ~/.local/share/nvim/site/pack/default/start/nvim-sensible

vim-ultitabs's People

Contributors

amarakon avatar

Stargazers

 avatar

Watchers

 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.