Coder Social home page Coder Social logo

tabline.vim's Issues

Windows indicator

First, I would thank you for all your efforts for the tabline. I made some modifications. I disabled the tabnumber (let s .= .tab.), next to the buffer name.

I would like to see if a tab have 2 or more windows, with a indicator, like in the Vim's default tabline. Is that possible?

E121 - undefined var g:airline

$ vim .vimrc
error by executing  "/home/therojam/.vimrc":
line  54:
E121: undefomed var g:airline

I installed tabline via vundle and wanted to enable it via .vimrc with airline.
See above for the error i get by starting vim

my .vimrc

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'

" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
Plugin 'L9'
"tabline plugin
Plugin 'mkitt/tabline.vim'
" tagbar
Plugin 'majutsushi/tagbar'
" synstastic - syntax errors
Plugin 'vim-syntastic/syntastic'
" vim-airline-themes via .vim-folder
Plugin 'vim-airline/vim-airline-themes'


" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList       - lists configured plugins
" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
"
" colored syntax highlighting
syntax on
" set airline statusline
:set laststatus=2
"turn powerline fonts on
let g:airline_powerline_fonts = 1
" set theme at start
" let g:airline_theme='dark'
let g:airline_theme='bubblegum'

let g:airline"extensions"tabline"enabled = 1
let g:airline"extensions"tagbar"enabled = 1
let g:airline"extensions"syntastic"enabled =1

	
" => Backups ausschalten
set nobackup 
" => Zeile und Spalte anzeigen
set ruler                  


" =>  ~/.exrc nicht benutzen
set noexrc                
" => nicht piepsen, wenn man an Textbegrenzungen anstößt o.ä.
set noerrorbells          
" => den aktuellen Mode anzeigen
set showmode              
" => Zeilennummern anzeigen
set nu

Not all tabs names are shown if there's not enough space for full file names

I really really like the plugin but this is something that's gotten pretty annoying: If there are too many tabs opened to display the full names of all of them and this plugin is installed this happens:

bildschirmfoto 2015-11-02 um 19 32 02

The first tab names are just not shown, even if I go to the first tab. The default Vim behaviour is this:

bildschirmfoto 2015-11-02 um 19 33 07

Only parts of the fill names are shown. While the first image may look nicer on the first look it actually makes it harder to find the tabs I don't need anymore.
Is it possible to implement an option for the default Vim behaviour? Another nice behaviour would also be if the tabs next to the one currently in focus are shown, similiarly to how Safari does it.

Free mouse movement restricted.

First off, thanks a ton for this plugin!
It works perfectly and gives me the tab numbers along with the tab name. Helps a lot to navigate between tabs when there are multiple tabs open!
I do have a small issue though..
Using this plugin, I can't use the mouse to click between tabs, and I can't scroll within the file I'm editing using scroll in the mouse.
This is an issue I had, if I set
set mouse=""
and this would not let me use the mouse within vim.
my .vimrc has
set mouse=a
and still it doesn't let me scroll freely using the mouse.
I do admit that one doesn't need mouse to scroll when using vim, but i'm not that well versed at the moment with the scrolling within vim.
I would be very grateful if you could let me know how I can fix this (or if I can, in which case, I'll force myself to browse within vim with the keyboard (as it should be))!

Tab Numbering (0 indexed)

It would be convenient to have the first/left-most tab numbered 0 as the tabs in vim are 0 indexed. Doing so would allow the user to reference the number when using tab ex commands. Any thought to adding this as an option?

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.