{
  "created": "2015-12-20T19:57:02Z",
  "hierarchy": [
    {
      "name": "ROOT",
      "type": "folder",
      "uri": "/ROOT"
    },
    {
      "name": "Vim",
      "type": "article",
      "uri": "Vim"
    }
  ],
  "html": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\"/>\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"/>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta property=\"og:image\" content=\"/img/logo512.png\"/>\n    <meta property=\"og:site_name\" content=\"Nikhil's Personal Wiki\"/>\n    <link rel=\"og:image\" href=\"/img/logo512.png\"/>\n    <link rel=\"icon\" href=\"/img/favicon.png\"/>\n    <link rel=\"apple-touch-icon\" href=\"/img/logo192.png\"/>\n    <link rel=\"stylesheet\" href=\"/css/styles.css\"/>\n    <link rel=\"stylesheet\" href=\"/css/highlight.css\"/>\n    <title>Vim &ndash; Nikhil's Personal Wiki</title>\n    <script type=\"text/javascript\" id=\"MathJax-script\" defer src=\"https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js\"></script>\n    <script defer data-domain=\"wiki.nikhil.io\" src=\"https://plausible.io/js/plausible.js\"></script>\n  </head>\n  <body>\n    <noscript>\n      👉 A few things won&#8217;t work if you have JavaScript disabled.\n    </noscript>\n    <div class=\"container article\">\n      <header>\n        <nav>\n          <ul>\n            <li>\n              <a href=\"/archive\"  title=\"Archive\">\n                <span>Archive</span>\n              </a>\n            </li>\n            <li>\n              <a href=\"/Home\"  title=\"Home\">\n                <span>Home</span>\n              </a>\n            </li>\n            <li>\n              <a href=\"/random\"  title=\"See a random article\">\n                <span>Random</span>\n              </a>\n            </li>\n            \n            \n              \n                <li>\n                  <a href=\"/Vim/raw\"  title=\"View Source\">\n                    <span>Raw</span>\n                  </a>\n                </li>\n              \n              \n            \n            \n            \n            \n              \n                <li>\n                  <a href=\"/Vim/revisions\" >\n                    <span>Revisions</span>\n                  </a>\n                </li>\n              \n            \n            \n              \n                \n                  <li>\n                    <a href=\"/Vim/index.json\" title=\"View JSON Object\">\n                      <span>JSON</span>\n                    </a>\n                  </li>\n                \n              \n            \n          </ul>\n        </nav>\n      </header>\n      <main>\n        \n  <nav>\n  <ul>\n    \n      <li>\n        <a data-entity-type=\"folder\" href=\"/ROOT\" title=\"ROOT\">Root</a>\n      </li>\n    \n      <li>\n        <a data-entity-type=\"article\" href=\"/Vim\" title=\"Vim\">Vim</a>\n      </li>\n    \n    \n    \n    \n    \n  </ul>\n</nav>\n\n  <h1>Vim\n    \n  </h1>\n  <h2>Tricks</h2>\n<ul>\n<li>\n<p><a href=\"http://superuser.com/a/132030\">Reload <code>.vimrc</code></a> without restarting vim:</p>\n<pre><code>:so ~/.vimrc  \n:so $MYVIMRC  \n:so %\n</code></pre>\n</li>\n</ul>\n<p>:   The last command is for when you&rsquo;re editing it.</p>\n<h2>Package management</h2>\n<p><a href=\"https://github.com/gmarik/Vundle.vim\">Vundle</a> FTW.</p>\n<pre><code>&quot; Required Vundle stuff  \nset rtp+=~/.vim/bundle/Vundle.vim  \ncall vundle#begin()  \nPlugin 'gmarik/Vundle.vim'  \n  \n&quot; Plugins  \nPlugin 'airblade/vim-gitgutter'  \nPlugin 'scrooloose/nerdtree'  \nPlugin 'chriskempson/base16-vim'  \nPlugin 'bling/vim-airline'  \nPlugin 'tpope/vim-fugitive'  \nPlugin 'jmcantrell/vim-virtualenv'  \nPlugin 'bling/vim-bufferline'  \n  \n&quot; End Vundle stuff  \ncall vundle#end()  \nfiletype plugin indent on\n</code></pre>\n<h2>Color Schemes</h2>\n<p>iTerm2, Base16 theme on OS X. Need do three things:</p>\n<ul>\n<li>Install <a href=\"https://github.com/chriskempson/base16-iterm2\">relevant iTerm2<br />\ntheme</a></li>\n<li>Set up the <a href=\"https://github.com/chriskempson/base16-shell\">Base16<br />\nshell</a> in ~/.profile</li>\n<li>Install <a href=\"https://github.com/chriskempson/base16-vim\">Base16 vim<br />\nthemes</a> (done<br />\nvia Vundle)</li>\n</ul>\n<p>Then,</p>\n<pre><code>let base16colorspace=256  \nlet g:airline_theme='base16'  \ncolorscheme base16-railscasts\n</code></pre>\n<h2><a href=\"https://github.com/bling/vim-airline\">vim-airline</a></h2>\n<p>To get all the nice arrows and symbols in <code>vim-airline</code>, you&rsquo;ll either<br />\nhave to</p>\n<ul>\n<li><a href=\"https://github.com/Lokaltog/powerline-fontpatcher\">Patch your terminal<br />\nfont</a>, or</li>\n<li><a href=\"https://github.com/Lokaltog/powerline-fonts\">Download a pre-patched<br />\none</a><sup id=\"fnref:1\"><a href=\"#fn:1\" class=\"footnote-ref\" role=\"doc-noteref\">1</a></sup></li>\n</ul>\n<p>If you just want the symbols, <a href=\"https://github.com/Lokaltog/powerline/tree/develop/font\">see this</a>. This guy has <a href=\"http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/\">some great observations</a><br />\non the amount of effort necessary to get a simple status bar. You can always<br />\n<a href=\"http://blog.andrewray.me/just-use-sublime-text/\">use Sublime Text</a>.</p>\n<p>I stopped caring (see source)</p>\n<pre><code>let g:airline_left_sep = ''  \nlet g:airline_right_sep = ''  \nlet g:airline_symbols.linenr = ''  \nlet g:airline_symbols.branch = ''  \nlet g:airline_symbols.paste = ''  \nlet g:airline_symbols.whitespace = ''\n</code></pre>\n<h3>Themes</h3>\n<p><a href=\"https://github.com/bling/vim-airline/wiki/Screenshots\">Here&rsquo;s a list</a><br />\nof included themes. Find one and set it in .vimrc with</p>\n<pre><code>let g:airline_theme = 'base16'\n</code></pre>\n<h3>Customization</h3>\n<pre><code>let g:airline_section_a       (mode, paste, iminsert)  \nlet g:airline_section_b       (hunks, branch)  \nlet g:airline_section_c       (bufferline or filename)  \nlet g:airline_section_gutter  (readonly, csv)  \nlet g:airline_section_x       (tagbar, filetype, virtualenv)  \nlet g:airline_section_y       (fileencoding, fileformat)  \nlet g:airline_section_z       (percentage, line number, column number)  \nlet g:airline_section_warning (syntastic, whitespace)\n</code></pre>\n<h2>References etc</h2>\n<ul>\n<li>\n<p>Look <a href=\"http://unicode-table.com/\">for Unicode symbols</a></p>\n</li>\n<li>\n<p>Add this to <code>~/.vimrc</code> to see the airline bar (<a href=\"https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split\">source</a>)</p>\n<pre><code>set laststatus=2\n</code></pre>\n</li>\n<li>\n<p><a href=\"http://bytefluent.com/vivify/\">Vivify</a> is a nice theme-making GUI.<br />\n<a href=\"http://www.villustrator.com/\">Villustrator</a> is another.</p>\n</li>\n<li>\n<p>You can also <a href=\"https://github.com/chriskempson/base16-builder\">make your own</a><br />\nBase16 theme.</p>\n</li>\n<li>\n<p>Some <a href=\"http://blog.tjll.net/yet-another-vim-setup/\">good notes</a> on a<br />\nbasic Vim setup.</p>\n</li>\n</ul>\n<h2>Footnotes</h2>\n<div class=\"footnotes\" role=\"doc-endnotes\">\n<hr />\n<ol>\n<li id=\"fn:1\">\n<p>In iTerm2, you&rsquo;ll have to <a href=\"https://github.com/bling/vim-airline/issues/142\">change the regular and non-ASCII<br />\nfonts</a> to the same<br />\npatched one.&#160;<a href=\"#fnref:1\" class=\"footnote-backref\" role=\"doc-backlink\">&#x21a9;&#xfe0e;</a></p>\n</li>\n</ol>\n</div>\n\n\n      </main>\n      <footer>\n        <p>\n          \n        </p>\n        <ul>\n          \n  <li>3,821 bytes</li>\n  \n    <li>Created on Sunday, 20 December 2015 at 19:57 UTC</li>\n    <li>Modified on Tuesday, 13 January 2026 at 18:47 UTC</li>\n    <br/>\n    <li>\n      <a\n        href=\"https://github.com/afreeorange/wiki.nikhil.io.articles/edit/master/Vim.md\"\n        title=\"Edit this article\">Edit this article</a>\n    </li>\n  \n\n          <li>\n            <a href=\"https://github.com/afreeorange/bock\" title=\"View the project that generates this wiki on Github\">bock\n            5.2.0-beta</a>\n          </li>\n        </ul>\n      </footer>\n    </div>\n    \n    \n      <script type=\"text/javascript\">\n        /**\n         * Quick shortcut to take me to the search box which is 90% of how I navigate\n         * this wiki anyway.\n         */\n        document.body.addEventListener(\n          \"keypress\", (e) => e.key === \"f\"\n          ? window.location.assign(\"/archive\")\n          : null);\n        window.MathJax = {\n          tex: {\n            inlineMath: [\n              [\n                '$', '$'\n              ],\n              [\n                '\\\\(', '\\\\)'\n              ]\n            ]\n          },\n          svg: {\n            fontCache: 'global'\n          }\n        };\n      </script>\n    \n  </body>\n</html></head></html>\n",
  "id": "048f8b87-2a0d-5c9a-bd30-8d7935ebac7a",
  "modified": "2026-01-13T18:47:28Z",
  "revisions": [
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2026-01-13T18:47:28Z",
      "id": "2436477560f26e23d00a24add1cbfeafdca4af78",
      "shortId": "24364775",
      "subject": "No compression\n",
      "content": "Tricks\n------\n\n*   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting vim:\n\n        :so ~/.vimrc  \n        :so $MYVIMRC  \n        :so %\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Vundle](https://github.com/gmarik/Vundle.vim) FTW.\n\n    \" Required Vundle stuff  \n    set rtp+=~/.vim/bundle/Vundle.vim  \n    call vundle#begin()  \n    Plugin 'gmarik/Vundle.vim'  \n      \n    \" Plugins  \n    Plugin 'airblade/vim-gitgutter'  \n    Plugin 'scrooloose/nerdtree'  \n    Plugin 'chriskempson/base16-vim'  \n    Plugin 'bling/vim-airline'  \n    Plugin 'tpope/vim-fugitive'  \n    Plugin 'jmcantrell/vim-virtualenv'  \n    Plugin 'bling/vim-bufferline'  \n      \n    \" End Vundle stuff  \n    call vundle#end()  \n    filetype plugin indent on\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n*   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n*   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n*   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\nThen,\n\n    let base16colorspace=256  \n    let g:airline_theme='base16'  \n    colorscheme base16-railscasts\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n*   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n*   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see this](https://github.com/Lokaltog/powerline/tree/develop/font). This guy has [some great observations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can always \n[use Sublime Text](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring (see source)\n\n    let g:airline_left_sep = ''  \n    let g:airline_right_sep = ''  \n    let g:airline_symbols.linenr = ''  \n    let g:airline_symbols.branch = ''  \n    let g:airline_symbols.paste = ''  \n    let g:airline_symbols.whitespace = ''\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n    let g:airline_theme = 'base16'\n\n### Customization\n\n    let g:airline_section_a       (mode, paste, iminsert)  \n    let g:airline_section_b       (hunks, branch)  \n    let g:airline_section_c       (bufferline or filename)  \n    let g:airline_section_gutter  (readonly, csv)  \n    let g:airline_section_x       (tagbar, filetype, virtualenv)  \n    let g:airline_section_y       (fileencoding, fileformat)  \n    let g:airline_section_z       (percentage, line number, column number)  \n    let g:airline_section_warning (syntastic, whitespace)\n\nReferences etc\n--------------\n\n*   Look [for Unicode symbols](http://unicode-table.com/)\n*   Add this to `~/.vimrc` to see the airline bar ([source](https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split))\n\n        set laststatus=2\n\n*   [Vivify](http://bytefluent.com/vivify/) is a nice theme-making GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n*   You can also [make your own](https://github.com/chriskempson/base16-builder) \n    Base16 theme.\n*   Some [good notes](http://blog.tjll.net/yet-another-vim-setup/) on a\n    basic Vim setup.\n\nFootnotes\n---------\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-27T07:27:56Z",
      "id": "1aa29105a45aa67523ffb61e73bcc415f935a47e",
      "shortId": "1aa29105",
      "subject": "Fix Markdown conversion\n\nSaw half a season of The Office\n",
      "content": "Tricks\n------\n\n*   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting vim:\n\n        :so ~/.vimrc  \n        :so $MYVIMRC  \n        :so %\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Vundle](https://github.com/gmarik/Vundle.vim) FTW.\n\n    \" Required Vundle stuff  \n    set rtp+=~/.vim/bundle/Vundle.vim  \n    call vundle#begin()  \n    Plugin 'gmarik/Vundle.vim'  \n      \n    \" Plugins  \n    Plugin 'airblade/vim-gitgutter'  \n    Plugin 'scrooloose/nerdtree'  \n    Plugin 'chriskempson/base16-vim'  \n    Plugin 'bling/vim-airline'  \n    Plugin 'tpope/vim-fugitive'  \n    Plugin 'jmcantrell/vim-virtualenv'  \n    Plugin 'bling/vim-bufferline'  \n      \n    \" End Vundle stuff  \n    call vundle#end()  \n    filetype plugin indent on\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n*   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n*   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n*   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\nThen,\n\n    let base16colorspace=256  \n    let g:airline_theme='base16'  \n    colorscheme base16-railscasts\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n*   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n*   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see this](https://github.com/Lokaltog/powerline/tree/develop/font). This guy has [some great observations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can always \n[use Sublime Text](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring (see source)\n\n    let g:airline_left_sep = ''  \n    let g:airline_right_sep = ''  \n    let g:airline_symbols.linenr = ''  \n    let g:airline_symbols.branch = ''  \n    let g:airline_symbols.paste = ''  \n    let g:airline_symbols.whitespace = ''\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n    let g:airline_theme = 'base16'\n\n### Customization\n\n    let g:airline_section_a       (mode, paste, iminsert)  \n    let g:airline_section_b       (hunks, branch)  \n    let g:airline_section_c       (bufferline or filename)  \n    let g:airline_section_gutter  (readonly, csv)  \n    let g:airline_section_x       (tagbar, filetype, virtualenv)  \n    let g:airline_section_y       (fileencoding, fileformat)  \n    let g:airline_section_z       (percentage, line number, column number)  \n    let g:airline_section_warning (syntastic, whitespace)\n\nReferences etc\n--------------\n\n*   Look [for Unicode symbols](http://unicode-table.com/)\n*   Add this to `~/.vimrc` to see the airline bar ([source](https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split))\n\n        set laststatus=2\n\n*   [Vivify](http://bytefluent.com/vivify/) is a nice theme-making GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n*   You can also [make your own](https://github.com/chriskempson/base16-builder) \n    Base16 theme.\n*   Some [good notes](http://blog.tjll.net/yet-another-vim-setup/) on a\n    basic Vim setup.\n\nFootnotes\n---------\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-21T02:30:47Z",
      "id": "d658e80d1ecb97b196531c7b15a0f9af709c05de",
      "shortId": "d658e80d",
      "subject": "Incremental\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Vundle](https://github.com/gmarik/Vundle.vim) FTW.\n\n` \" Required Vundle stuff`  \n` set rtp+=~/.vim/bundle/Vundle.vim`  \n` call vundle#begin()`  \n` Plugin 'gmarik/Vundle.vim'`  \n` `  \n` \" Plugins`  \n` Plugin 'airblade/vim-gitgutter'`  \n` Plugin 'scrooloose/nerdtree'`  \n` Plugin 'chriskempson/base16-vim'`  \n` Plugin 'bling/vim-airline'`  \n` Plugin 'tpope/vim-fugitive'`  \n` Plugin 'jmcantrell/vim-virtualenv'`  \n` Plugin 'bling/vim-bufferline'`  \n` `  \n` \" End Vundle stuff`  \n` call vundle#end()`  \n` filetype plugin indent on`\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n-   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n-   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n-   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\nThen,\n\n`let base16colorspace=256`  \n`let g:airline_theme='base16'`  \n`colorscheme base16-railscasts`\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n-   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n-   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see\nthis](https://github.com/Lokaltog/powerline/tree/develop/font). This guy\nhas [some great\nobservations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can\nalways [use Sublime\nText](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring (see source)\n\n`   let g:airline_left_sep = ''`  \n`   let g:airline_right_sep = ''`  \n`   let g:airline_symbols.linenr = ''`  \n`   let g:airline_symbols.branch = ''`  \n`   let g:airline_symbols.paste = ''`  \n`   let g:airline_symbols.whitespace = ''`\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n`   let g:airline_theme = 'base16'`\n\n### Customization\n\n` let g:airline_section_a       (mode, paste, iminsert)`  \n` let g:airline_section_b       (hunks, branch)`  \n` let g:airline_section_c       (bufferline or filename)`  \n` let g:airline_section_gutter  (readonly, csv)`  \n` let g:airline_section_x       (tagbar, filetype, virtualenv)`  \n` let g:airline_section_y       (fileencoding, fileformat)`  \n` let g:airline_section_z       (percentage, line number, column number)`  \n` let g:airline_section_warning (syntastic, whitespace)`\n\nReferences etc\n--------------\n\n-   Look [for Unicode symbols](http://unicode-table.com/)\n-   Add this to `~/.vimrc` to see the airline bar\n    [https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split\n    1](https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split_1 \"wikilink\").\n\n` set laststatus=2`\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice theme-making GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   You can also [make your\n    own](https://github.com/chriskempson/base16-builder) Base16 theme.\n-   Some [good notes](http://blog.tjll.net/yet-another-vim-setup/) on a\n    basic Vim setup.\n\nFootnotes\n---------\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:04Z",
      "id": "38133535864ada2551853995547f58c3b511f13f",
      "shortId": "38133535",
      "subject": "Vim : v12\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Vundle](https://github.com/gmarik/Vundle.vim) FTW.\n\n` \" Required Vundle stuff`  \n` set rtp+=~/.vim/bundle/Vundle.vim`  \n` call vundle#begin()`  \n` Plugin 'gmarik/Vundle.vim'`  \n` `  \n` \" Plugins`  \n` Plugin 'airblade/vim-gitgutter'`  \n` Plugin 'scrooloose/nerdtree'`  \n` Plugin 'chriskempson/base16-vim'`  \n` Plugin 'bling/vim-airline'`  \n` Plugin 'tpope/vim-fugitive'`  \n` Plugin 'jmcantrell/vim-virtualenv'`  \n` Plugin 'bling/vim-bufferline'`  \n` `  \n` \" End Vundle stuff`  \n` call vundle#end()`  \n` filetype plugin indent on`\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n-   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n-   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n-   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\nThen,\n\n`let base16colorspace=256`  \n`let g:airline_theme='base16'`  \n`colorscheme base16-railscasts`\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n-   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n-   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see\nthis](https://github.com/Lokaltog/powerline/tree/develop/font). This guy\nhas [some great\nobservations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can\nalways [use Sublime\nText](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring (see source)\n\n`   let g:airline_left_sep = ''`  \n`   let g:airline_right_sep = ''`  \n`   let g:airline_symbols.linenr = ''`  \n`   let g:airline_symbols.branch = ''`  \n`   let g:airline_symbols.paste = ''`  \n`   let g:airline_symbols.whitespace = ''`\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n`   let g:airline_theme = 'base16'`\n\n### Customization\n\n` let g:airline_section_a       (mode, paste, iminsert)`  \n` let g:airline_section_b       (hunks, branch)`  \n` let g:airline_section_c       (bufferline or filename)`  \n` let g:airline_section_gutter  (readonly, csv)`  \n` let g:airline_section_x       (tagbar, filetype, virtualenv)`  \n` let g:airline_section_y       (fileencoding, fileformat)`  \n` let g:airline_section_z       (percentage, line number, column number)`  \n` let g:airline_section_warning (syntastic, whitespace)`\n\nReferences etc\n--------------\n\n-   Look [for Unicode symbols](http://unicode-table.com/)\n-   Add this to `~/.vimrc` to see the airline bar\n    [https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split\n    1](https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split_1 \"wikilink\").\n\n` set laststatus=2`\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice theme-making GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   You can also [make your\n    own](https://github.com/chriskempson/base16-builder) Base16 theme.\n-   Some [good notes](http://blog.tjll.net/yet-another-vim-setup/) on a\n    basic Vim setup.\n\nFootnotes\n---------\n\n<references/>\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:04Z",
      "id": "419ac2ed3a0587c95d5e45e574267b298c654cff",
      "shortId": "419ac2ed",
      "subject": "Vim : v11\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Vundle](https://github.com/gmarik/Vundle.vim) FTW.\n\n` \" Required Vundle stuff`  \n` set rtp+=~/.vim/bundle/Vundle.vim`  \n` call vundle#begin()`  \n` Plugin 'gmarik/Vundle.vim'`  \n` `  \n` \" Plugins`  \n` Plugin 'airblade/vim-gitgutter'`  \n` Plugin 'scrooloose/nerdtree'`  \n` Plugin 'chriskempson/base16-vim'`  \n` Plugin 'bling/vim-airline'`  \n` Plugin 'tpope/vim-fugitive'`  \n` Plugin 'jmcantrell/vim-virtualenv'`  \n` Plugin 'bling/vim-bufferline'`  \n` `  \n` \" End Vundle stuff`  \n` call vundle#end()`  \n` filetype plugin indent on`\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n-   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n-   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n-   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\nThen,\n\n`let base16colorspace=256`  \n`let g:airline_theme='base16'`  \n`colorscheme base16-railscasts`\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n-   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n-   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see\nthis](https://github.com/Lokaltog/powerline/tree/develop/font). This guy\nhas [some great\nobservations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can\nalways [use Sublime\nText](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring (see source)\n\n`   let g:airline_left_sep = ''`  \n`   let g:airline_right_sep = ''`  \n`   let g:airline_symbols.linenr = ''`  \n`   let g:airline_symbols.branch = ''`  \n`   let g:airline_symbols.paste = ''`  \n`   let g:airline_symbols.whitespace = ''`\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n`   let g:airline_theme = 'base16'`\n\n### Customization\n\n` let g:airline_section_a       (mode, paste, iminsert)`  \n` let g:airline_section_b       (hunks, branch)`  \n` let g:airline_section_c       (bufferline or filename)`  \n` let g:airline_section_gutter  (readonly, csv)`  \n` let g:airline_section_x       (tagbar, filetype, virtualenv)`  \n` let g:airline_section_y       (fileencoding, fileformat)`  \n` let g:airline_section_z       (percentage, line number, column number)`  \n` let g:airline_section_warning (syntastic, whitespace)`\n\nReferences etc\n--------------\n\n-   Look [for Unicode symbols](http://unicode-table.com/)\n-   Add this to `~/.vimrc` to see the airline bar\n    [https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split\n    1](https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split_1 \"wikilink\").\n\n` set laststatus=2`\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice theme-making GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   You can also [make your\n    own](https://github.com/chriskempson/base16-builder) Base16 theme.\n\nFootnotes\n---------\n\n<references/>\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:04Z",
      "id": "20ffff61ccaf2b2402c85b6fd9068b58b9f61d31",
      "shortId": "20ffff61",
      "subject": "Vim : v10\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Vundle](https://github.com/gmarik/Vundle.vim) FTW.\n\n` \" Required Vundle stuff`  \n` set rtp+=~/.vim/bundle/Vundle.vim`  \n` call vundle#begin()`  \n` Plugin 'gmarik/Vundle.vim'`  \n` `  \n` \" Plugins`  \n` Plugin 'airblade/vim-gitgutter'`  \n` Plugin 'scrooloose/nerdtree'`  \n` Plugin 'chriskempson/base16-vim'`  \n` Plugin 'bling/vim-airline'`  \n` Plugin 'tpope/vim-fugitive'`  \n` Plugin 'jmcantrell/vim-virtualenv'`  \n` Plugin 'bling/vim-bufferline'`  \n` `  \n` \" End Vundle stuff`  \n` call vundle#end()`  \n` filetype plugin indent on`\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n-   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n-   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n-   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n-   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n-   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see\nthis](https://github.com/Lokaltog/powerline/tree/develop/font). This guy\nhas [some great\nobservations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can\nalways [use Sublime\nText](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring (see source)\n\n`   let g:airline_left_sep = ''`  \n`   let g:airline_right_sep = ''`  \n`   let g:airline_symbols.linenr = ''`  \n`   let g:airline_symbols.branch = ''`  \n`   let g:airline_symbols.paste = ''`  \n`   let g:airline_symbols.whitespace = ''`\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n`   let g:airline_theme = 'base16'`\n\n### Customization\n\n` let g:airline_section_a       (mode, paste, iminsert)`  \n` let g:airline_section_b       (hunks, branch)`  \n` let g:airline_section_c       (bufferline or filename)`  \n` let g:airline_section_gutter  (readonly, csv)`  \n` let g:airline_section_x       (tagbar, filetype, virtualenv)`  \n` let g:airline_section_y       (fileencoding, fileformat)`  \n` let g:airline_section_z       (percentage, line number, column number)`  \n` let g:airline_section_warning (syntastic, whitespace)`\n\nReferences etc\n--------------\n\n-   Look [for Unicode symbols](http://unicode-table.com/)\n-   Add this to `~/.vimrc` to see the airline bar\n    [https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split\n    1](https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split_1 \"wikilink\").\n\n` set laststatus=2`\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice theme-making GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   You can also [make your\n    own](https://github.com/chriskempson/base16-builder) Base16 theme.\n\nFootnotes\n---------\n\n<references/>\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:04Z",
      "id": "a3ba38cb9f0a1bbe66f7650c4bdb2d7135d02c24",
      "shortId": "a3ba38cb",
      "subject": "Vim : v9\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Vundle](https://github.com/gmarik/Vundle.vim) FTW.\n\n` \" Required Vundle stuff`  \n` set rtp+=~/.vim/bundle/Vundle.vim`  \n` call vundle#begin()`  \n` Plugin 'gmarik/Vundle.vim'`  \n` `  \n` \" Plugins`  \n` Plugin 'airblade/vim-gitgutter'`  \n` Plugin 'scrooloose/nerdtree'`  \n` Plugin 'chriskempson/base16-vim'`  \n` Plugin 'bling/vim-airline'`  \n` Plugin 'tpope/vim-fugitive'`  \n` Plugin 'jmcantrell/vim-virtualenv'`  \n` Plugin 'bling/vim-bufferline'`  \n` `  \n` \" End Vundle stuff`  \n` call vundle#end()`  \n` filetype plugin indent on`\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n-   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n-   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n-   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n-   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n-   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see\nthis](https://github.com/Lokaltog/powerline/tree/develop/font). This guy\nhas [some great\nobservations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can\nalways [use Sublime\nText](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring:\n\n`   let g:airline_left_sep = ''`  \n`   let g:airline_right_sep = ''`  \n`   let g:airline_symbols.linenr = ''`  \n`   let g:airline_symbols.branch = ''`  \n`   let g:airline_symbols.paste = ''`  \n`   let g:airline_symbols.whitespace = ''`\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n`   let g:airline_theme = 'base16'`\n\n### Customization\n\n` let g:airline_section_a       (mode, paste, iminsert)`  \n` let g:airline_section_b       (hunks, branch)`  \n` let g:airline_section_c       (bufferline or filename)`  \n` let g:airline_section_gutter  (readonly, csv)`  \n` let g:airline_section_x       (tagbar, filetype, virtualenv)`  \n` let g:airline_section_y       (fileencoding, fileformat)`  \n` let g:airline_section_z       (percentage, line number, column number)`  \n` let g:airline_section_warning (syntastic, whitespace)`\n\nReferences etc\n--------------\n\n-   Look [for Unicode symbols](http://unicode-table.com/)\n-   Add this to `~/.vimrc` to see the airline bar\n    [https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split\n    1](https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split_1 \"wikilink\").\n\n` set laststatus=2`\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice theme-making GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   You can also [make your\n    own](https://github.com/chriskempson/base16-builder) Base16 theme.\n\nFootnotes\n---------\n\n<references/>\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:03Z",
      "id": "e1ed8094a2a461b622c16707debed8dfe2bdd2f9",
      "shortId": "e1ed8094",
      "subject": "Vim : v8\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Pathogen](https://github.com/tpope/vim-pathogen) seem slike a\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n-   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n-   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n-   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n-   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n-   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see\nthis](https://github.com/Lokaltog/powerline/tree/develop/font). This guy\nhas [some great\nobservations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can\nalways [use Sublime\nText](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring:\n\n`   let g:airline_left_sep = ''`  \n`   let g:airline_right_sep = ''`  \n`   let g:airline_symbols.linenr = ''`  \n`   let g:airline_symbols.branch = ''`  \n`   let g:airline_symbols.paste = ''`  \n`   let g:airline_symbols.whitespace = ''`\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n`   let g:airline_theme = 'base16'`\n\n### Customization\n\n` let g:airline_section_a       (mode, paste, iminsert)`  \n` let g:airline_section_b       (hunks, branch)`  \n` let g:airline_section_c       (bufferline or filename)`  \n` let g:airline_section_gutter  (readonly, csv)`  \n` let g:airline_section_x       (tagbar, filetype, virtualenv)`  \n` let g:airline_section_y       (fileencoding, fileformat)`  \n` let g:airline_section_z       (percentage, line number, column number)`  \n` let g:airline_section_warning (syntastic, whitespace)`\n\nReferences etc\n--------------\n\n-   Look [for Unicode symbols](http://unicode-table.com/)\n-   Add this to `~/.vimrc` to see the airline bar\n    [https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split\n    1](https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split_1 \"wikilink\").\n\n` set laststatus=2`\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice theme-making GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   You can also [make your\n    own](https://github.com/chriskempson/base16-builder) Base16 theme.\n\nFootnotes\n---------\n\n<references/>\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:03Z",
      "id": "1095fe39e4f9e3e4ef330816962633f7830187d8",
      "shortId": "1095fe39",
      "subject": "Vim : v6\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Pathogen](https://github.com/tpope/vim-pathogen) seem slike a\n\nColor Schemes\n-------------\n\n### Installation\n\nAs an example, I'll install the [Base16\nEighties](http://chriskempson.github.io/base16/#eighties) theme.\n\n    mkdir ~/.vim/colors\n    curl https://raw.githubusercontent.com/chriskempson/base16-vim/master/colors/base16-eighties.vim > ~/.vim/colors/base16-eighties.vim\n\nFire up vim, then `:colorscheme base16-eighties` (tab-completion works!)\nand voila. Add your favorite to `~/.vimrc`\n\n### Finding Themes\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   Base16: [themes](https://github.com/chriskempson/base16-vim) and\n    [preview](http://chriskempson.github.io/base16). You can also [make\n    your own](https://github.com/chriskempson/base16-builder).\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n-   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n-   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see\nthis](https://github.com/Lokaltog/powerline/tree/develop/font). This guy\nhas [some great\nobservations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can\nalways [use Sublime\nText](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring:\n\n`   let g:airline_left_sep = ''`  \n`   let g:airline_right_sep = ''`  \n`   let g:airline_symbols.linenr = ''`  \n`   let g:airline_symbols.branch = ''`  \n`   let g:airline_symbols.paste = ''`  \n`   let g:airline_symbols.whitespace = ''`\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n`   let g:airline_theme = 'base16'`\n\n### Customization\n\n` let g:airline_section_a       (mode, paste, iminsert)`  \n` let g:airline_section_b       (hunks, branch)`  \n` let g:airline_section_c       (bufferline or filename)`  \n` let g:airline_section_gutter  (readonly, csv)`  \n` let g:airline_section_x       (tagbar, filetype, virtualenv)`  \n` let g:airline_section_y       (fileencoding, fileformat)`  \n` let g:airline_section_z       (percentage, line number, column number)`  \n` let g:airline_section_warning (syntastic, whitespace)`\n\nReferences etc\n--------------\n\n-   Look [for Unicode symbols](http://unicode-table.com/)\n-   Add this to `~/.vimrc` to see the airline bar\n    [https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split\n    1](https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split_1 \"wikilink\").\n\n` set laststatus=2`\n\nFootnotes\n---------\n\n<references/>\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:03Z",
      "id": "a5ee58e93283349496adb9f148c500953f95b03d",
      "shortId": "a5ee58e9",
      "subject": "Vim : v5\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Pathogen](https://github.com/tpope/vim-pathogen) seem slike a\n\nColor Schemes\n-------------\n\n### Installation\n\nAs an example, I'll install the [Base16\nEighties](http://chriskempson.github.io/base16/#eighties) theme.\n\n    mkdir ~/.vim/colors\n    curl https://raw.githubusercontent.com/chriskempson/base16-vim/master/colors/base16-eighties.vim > ~/.vim/colors/base16-eighties.vim\n\nFire up vim, then `:colorscheme base16-eighties` (tab-completion works!)\nand voila. Add your favorite to `~/.vimrc`\n\n### Finding Themes\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   Base16: [themes](https://github.com/chriskempson/base16-vim) and\n    [preview](http://chriskempson.github.io/base16). You can also [make\n    your own](https://github.com/chriskempson/base16-builder).\n\nvim-airline\n-----------\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n-   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n-   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see\nthis](https://github.com/Lokaltog/powerline/tree/develop/font). This guy\nhas [some great\nobservations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can\nalways [use Sublime\nText](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring:\n\n`   let g:airline_left_sep = ''`  \n`   let g:airline_right_sep = ''`  \n`   let g:airline_symbols.linenr = ''`  \n`   let g:airline_symbols.branch = ''`  \n`   let g:airline_symbols.paste = ''`  \n`   let g:airline_symbols.whitespace = ''`\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n`   let g:airline_theme = 'base16'`\n\n### Customization\n\n` let g:airline_section_a       (mode, paste, iminsert)`  \n` let g:airline_section_b       (hunks, branch)`  \n` let g:airline_section_c       (bufferline or filename)`  \n` let g:airline_section_gutter  (readonly, csv)`  \n` let g:airline_section_x       (tagbar, filetype, virtualenv)`  \n` let g:airline_section_y       (fileencoding, fileformat)`  \n` let g:airline_section_z       (percentage, line number, column number)`  \n` let g:airline_section_warning (syntastic, whitespace)`\n\nReferences etc\n--------------\n\n-   Look [for Unicode symbols](http://unicode-table.com/)\n-   Add this to `~/.vimrc` to see the airline bar\n    [https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split\n    1](https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split_1 \"wikilink\").\n\n` set laststatus=2`\n\nFootnotes\n---------\n\n<references/>\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:03Z",
      "id": "f5a7d9df2ce98c7ad6111acc0069106a276084fb",
      "shortId": "f5a7d9df",
      "subject": "Vim : v4\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Pathogen](https://github.com/tpope/vim-pathogen) seem slike a\n\nColor Schemes\n-------------\n\n### Installation\n\nAs an example, I'll install the [Base16\nEighties](http://chriskempson.github.io/base16/#eighties) theme.\n\n    mkdir ~/.vim/colors\n    curl https://raw.githubusercontent.com/chriskempson/base16-vim/master/colors/base16-eighties.vim > ~/.vim/colors/base16-eighties.vim\n\nFire up vim, then `:colorscheme base16-eighties` (tab-completion works!)\nand voila. Add your favorite to `~/.vimrc`\n\n### Finding Themes\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   Base16: [themes](https://github.com/chriskempson/base16-vim) and\n    [preview](http://chriskempson.github.io/base16). You can also [make\n    your own](https://github.com/chriskempson/base16-builder).\n\nvim-airline\n-----------\n\nAdd this to `~/.vimrc` to see the airline bar.\n\n` set laststatus=2`\n\n[That magically makes it\nappear](https://github.com/bling/vim-airline/issues/592).\n\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:03Z",
      "id": "061dadc9492ec1bd26591b68c2339f485cbeb4c2",
      "shortId": "061dadc9",
      "subject": "Vim : v3\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Pathogen](https://github.com/tpope/vim-pathogen) seem slike a\n\nColor Schemes\n-------------\n\n### Installation\n\nAs an example, I'll install the [Base16\nEighties](http://chriskempson.github.io/base16/#eighties) theme.\n\n    mkdir ~/.vim/colors\n    curl https://raw.githubusercontent.com/chriskempson/base16-vim/master/colors/base16-eighties.vim > ~/.vim/colors/base16-eighties.vim\n\nFire up vim, then `:colorscheme base16-eighties` (tab-completion works!)\nand voila. Add your favorite to `~/.vimrc`\n\n### Finding Themes\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   Base16: [themes](https://github.com/chriskempson/base16-vim) and\n    [preview](http://chriskempson.github.io/base16). You can also [make\n    your own](https://github.com/chriskempson/base16-builder).\n\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:03Z",
      "id": "767eb898b378736337f0700612898d25b67b3a0e",
      "shortId": "767eb898",
      "subject": "Vim : v7\n",
      "content": "Tricks\n------\n\n-   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting\n    vim:\n\n` :so ~/.vimrc`  \n` :so $MYVIMRC`  \n` :so %`\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Pathogen](https://github.com/tpope/vim-pathogen) seem slike a\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n-   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n-   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n-   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n-   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n-   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see\nthis](https://github.com/Lokaltog/powerline/tree/develop/font). This guy\nhas [some great\nobservations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can\nalways [use Sublime\nText](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring:\n\n`   let g:airline_left_sep = ''`  \n`   let g:airline_right_sep = ''`  \n`   let g:airline_symbols.linenr = ''`  \n`   let g:airline_symbols.branch = ''`  \n`   let g:airline_symbols.paste = ''`  \n`   let g:airline_symbols.whitespace = ''`\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n`   let g:airline_theme = 'base16'`\n\n### Customization\n\n` let g:airline_section_a       (mode, paste, iminsert)`  \n` let g:airline_section_b       (hunks, branch)`  \n` let g:airline_section_c       (bufferline or filename)`  \n` let g:airline_section_gutter  (readonly, csv)`  \n` let g:airline_section_x       (tagbar, filetype, virtualenv)`  \n` let g:airline_section_y       (fileencoding, fileformat)`  \n` let g:airline_section_z       (percentage, line number, column number)`  \n` let g:airline_section_warning (syntastic, whitespace)`\n\nReferences etc\n--------------\n\n-   Look [for Unicode symbols](http://unicode-table.com/)\n-   Add this to `~/.vimrc` to see the airline bar\n    [https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split\n    1](https://github.com/bling/vim-airline/wiki/FAQ#vim-airline-doesnt-appear-until-i-create-a-new-split_1 \"wikilink\").\n\n` set laststatus=2`\n\nFootnotes\n---------\n\n<references/>\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:02Z",
      "id": "d7d992950653a71827d87c1b9be7abc6414a47ec",
      "shortId": "d7d99295",
      "subject": "Vim : v2\n",
      "content": "Color Schemes\n-------------\n\n### Installation\n\nAs an example, I'll install the [Base16\nEighties](http://chriskempson.github.io/base16/#eighties) theme.\n\n    mkdir ~/.vim/colors\n    curl https://raw.githubusercontent.com/chriskempson/base16-vim/master/colors/base16-eighties.vim > ~/.vim/colors/base16-eighties.vim\n\nFire up vim, then `:colorscheme base16-eighties` (tab-completion works!)\nand voila. Add your favorite to `~/.vimrc`\n\n### Finding Themes\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n-   Base16: [themes](https://github.com/chriskempson/base16-vim) and\n    [preview](http://chriskempson.github.io/base16). You can also [make\n    your own](https://github.com/chriskempson/base16-builder).\n\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n"
    },
    {
      "authorEmail": "mail@nikhil.io",
      "authorName": "Nikhil Anand",
      "date": "2015-12-20T19:57:02Z",
      "id": "3ce32f11ce6144064c0fd13721e77247e99c7268",
      "shortId": "3ce32f11",
      "subject": "Vim : First Draft\n",
      "content": "Color Schemes\n-------------\n\n### Installation\n\nAs an example, I'll install the [Base16\nEighties](http://chriskempson.github.io/base16/#eighties) theme.\n\n    mkdir ~/.vim/colors\n    curl https://raw.githubusercontent.com/chriskempson/base16-vim/master/colors/base16-eighties.vim > ~/.vim/colors/base16-eighties.vim\n\nFire up vim, then `:colorscheme base16-eighties` (tab-completion works!)\nand voila. Add your favorite to `~/.vimrc`\n\n### Finding Themes\n\n-   [Vivify](http://bytefluent.com/vivify/) is a nice GUI\n-   Base16: [themes](https://github.com/chriskempson/base16-vim) and\n    [preview](http://chriskempson.github.io/base16) pages\n\n:   You can also [make your\n    own](https://github.com/chriskempson/base16-builder)\n\n-   \n\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: Vim](Category:_Vim \"wikilink\")\n"
    }
  ],
  "sizeInBytes": 3821,
  "source": "Tricks\n------\n\n*   [Reload `.vimrc`](http://superuser.com/a/132030) without restarting vim:\n\n        :so ~/.vimrc  \n        :so $MYVIMRC  \n        :so %\n\n:   The last command is for when you're editing it.\n\nPackage management\n------------------\n\n[Vundle](https://github.com/gmarik/Vundle.vim) FTW.\n\n    \" Required Vundle stuff  \n    set rtp+=~/.vim/bundle/Vundle.vim  \n    call vundle#begin()  \n    Plugin 'gmarik/Vundle.vim'  \n      \n    \" Plugins  \n    Plugin 'airblade/vim-gitgutter'  \n    Plugin 'scrooloose/nerdtree'  \n    Plugin 'chriskempson/base16-vim'  \n    Plugin 'bling/vim-airline'  \n    Plugin 'tpope/vim-fugitive'  \n    Plugin 'jmcantrell/vim-virtualenv'  \n    Plugin 'bling/vim-bufferline'  \n      \n    \" End Vundle stuff  \n    call vundle#end()  \n    filetype plugin indent on\n\nColor Schemes\n-------------\n\niTerm2, Base16 theme on OS X. Need do three things:\n\n*   Install [relevant iTerm2\n    theme](https://github.com/chriskempson/base16-iterm2)\n*   Set up the [Base16\n    shell](https://github.com/chriskempson/base16-shell) in \\~/.profile\n*   Install [Base16 vim\n    themes](https://github.com/chriskempson/base16-vim) (done\n    via Vundle)\n\nThen,\n\n    let base16colorspace=256  \n    let g:airline_theme='base16'  \n    colorscheme base16-railscasts\n\n[vim-airline](https://github.com/bling/vim-airline)\n---------------------------------------------------\n\nTo get all the nice arrows and symbols in `vim-airline`, you'll either\nhave to\n\n*   [Patch your terminal\n    font](https://github.com/Lokaltog/powerline-fontpatcher), or\n*   [Download a pre-patched\n    one](https://github.com/Lokaltog/powerline-fonts)[^1]\n\nIf you just want the symbols, [see this](https://github.com/Lokaltog/powerline/tree/develop/font). This guy has [some great observations](http://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\non the amount of effort necessary to get a simple status bar. You can always \n[use Sublime Text](http://blog.andrewray.me/just-use-sublime-text/).\n\nI stopped caring (see source)\n\n    let g:airline_left_sep = ''  \n    let g:airline_right_sep = ''  \n    let g:airline_symbols.linenr = ''  \n    let g:airline_symbols.branch = ''  \n    let g:airline_symbols.paste = ''  \n    let g:airline_symbols.whitespace = ''\n\n### Themes\n\n[Here's a list](https://github.com/bling/vim-airline/wiki/Screenshots)\nof included themes. Find one and set it in .vimrc with\n\n    let g:airline_theme = 'base16'\n\n### Customization\n\n    let g:airline_section_a       (mode, paste, iminsert)  \n    let g:airline_section_b       (hunks, branch)  \n    let g:airline_section_c       (bufferline or filename)  \n    let g:airline_section_gutter  (readonly, csv)  \n    let g:airline_section_x       (tagbar, filetype, virtualenv)  \n    let g:airline_section_y       (fileencoding, fileformat)  \n    let g:airline_section_z       (percentage, line number, column number)  \n    let g:airline_section_warning (syntastic, whitespace)\n\nReferences etc\n--------------\n\n*   Look [for Unicode symbols](http://unicode-table.com/)\n*   Add this to `~/.vimrc` to see the airline bar ([source](https://github.com/bling/vim-airline/wiki/FAQ\\#vim-airline-doesnt-appear-until-i-create-a-new-split))\n\n        set laststatus=2\n\n*   [Vivify](http://bytefluent.com/vivify/) is a nice theme-making GUI.\n    [Villustrator](http://www.villustrator.com/) is another.\n*   You can also [make your own](https://github.com/chriskempson/base16-builder) \n    Base16 theme.\n*   Some [good notes](http://blog.tjll.net/yet-another-vim-setup/) on a\n    basic Vim setup.\n\nFootnotes\n---------\n\n[^1]: In iTerm2, you'll have to [change the regular and non-ASCII\n    fonts](https://github.com/bling/vim-airline/issues/142) to the same\n    patched one.\n",
  "title": "Vim",
  "untracked": false,
  "uri": "/Vim",
  "relativePath": "Vim.md"
}
