[
  {
    "path": ".gitignore",
    "content": "/doc/tags\n"
  },
  {
    "path": "README.md",
    "content": "\n<img src=\"https://mkitt.net/apple-touch-icon.png\" width=\"80px\" height=\"80px\" />\n\n# tabline.vim\n\nConfigure tab labels within Terminal Vim with a very succinct output.\n\n![Tabline Screenshot](https://raw.github.com/mkitt/tabline.vim/master/screenshots/tabline.png)\n\n- Tab number\n- Filename (basename only)\n- [+] if the current buffer has been modified\n\nTabs in this case, refer to Vim Tabs and not the Terminal.app tabs.\n\nBased on settings found from [offensive\nthinking](http://www.offensivethinking.org/data/dotfiles/vimrc).\n\n## Installation\nIf you don't have a preferred installation method, I recommend\ninstalling [pathogen.vim](https://github.com/tpope/vim-pathogen), and\nthen simply copy and paste:\n\n```\ncd ~/.vim/bundle\ngit clone git://github.com/mkitt/tabline.vim.git\n```\n\n## Configuration\nCurrently there are no configuration variables to define, you either\nrock it or you don't. This may change at some point in the future.\n\nMake sure to set the following settings within your color theme: \n\n```\nhi TabLine      ctermfg=Black  ctermbg=Green     cterm=NONE\nhi TabLineFill  ctermfg=Black  ctermbg=Green     cterm=NONE\nhi TabLineSel   ctermfg=White  ctermbg=DarkBlue  cterm=NONE\n```\n\nTo enable the close button in the upper right corner, add the following to your `~/.vimrc`\n```\nlet g:tablineclosebutton=1\n```\n\n\n[mkitt.net][mkitt.net] | [github/mkitt][github]\n\n[github]: https://github.com/mkitt \"@mkitt\"\n[mkitt.net]: https://mkitt.net \"🏔\"\n"
  },
  {
    "path": "plugin/tabline.vim",
    "content": "\" File:        tabline.vim\n\" Maintainer:  Matthew Kitt <http://mkitt.net/>\n\" Description: Configure tabs within Terminal Vim.\n\" Last Change: 2012-10-21\n\" License:     This program is free software. It comes without any warranty,\n\"              to the extent permitted by applicable law. You can redistribute\n\"              it and/or modify it under the terms of the Do What The Fuck You\n\"              Want To Public License, Version 2, as published by Sam Hocevar.\n\"              See http://sam.zoy.org/wtfpl/COPYING for more details.\n\" Based On:    http://www.offensivethinking.org/data/dotfiles/vimrc\n\n\" Bail quickly if the plugin was loaded, disabled or compatible is set\nif (exists(\"g:loaded_tabline_vim\") && g:loaded_tabline_vim) || &cp\n  finish\nendif\nlet g:loaded_tabline_vim = 1\n\nfunction! Tabline()\n  let s = ''\n  for i in range(tabpagenr('$'))\n    let tab = i + 1\n    let winnr = tabpagewinnr(tab)\n    let buflist = tabpagebuflist(tab)\n    let bufnr = buflist[winnr - 1]\n    let bufname = bufname(bufnr)\n    let bufmodified = getbufvar(bufnr, \"&mod\")\n\n    let s .= '%' . tab . 'T'\n    let s .= (tab == tabpagenr() ? '%#TabLineSel#' : '%#TabLine#')\n    let s .= ' ' . tab .':'\n    let s .= (bufname != '' ? '['. fnamemodify(bufname, ':t') . '] ' : '[No Name] ')\n\n    if bufmodified\n      let s .= '[+] '\n    endif\n  endfor\n\n  let s .= '%#TabLineFill#'\n  if (exists(\"g:tablineclosebutton\"))\n    let s .= '%=%999XX'\n  endif\n  return s\nendfunction\nset tabline=%!Tabline()\n\n"
  }
]