<commit_before>.. _vim-pathogen:

Install and setup vim on Ubuntu 14.04
=====================================

**Vim** is a powerful editor that can be used on your laptop/desktop and is
also typically found of any Linux server you might encounter.  As a result, I
started using **vim** as my main editor.  The Ubuntu install is simple:

.. code-block:: bash

    $ sudo apt-get install vim

.. more::
    
That's it, you're ready to edit.  A good place to start if you need to learn
more about **vim** is the main website: vim_ . Also be sure to check out the
`vim tutorials`_. 

**<Note>**
Sept 2016-- I have upgraded to Ubuntu 16.04 and wrote another post
about setting up vim_, this time using vundle instead of pathogen.  Checkout
the new post-- :ref:`vim-vundle` -- if that sounds interesting.
**</Note>**

Pathogen
--------

My next step is to add a variety of **vim plugins** that make (my) life easier.
To do this I use pathogen_  a
wonderful vim package manager. Installation is accomplished with the following
lines:

.. code-block:: bash

    $ mkdir -p ~/.vim/autoload ~/.vim/bundle;
    $ curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

If you don't have curl installed, use:

.. code-block:: bash

    $ sudo apt-get install curl<commit_msg>move note about upate to top<commit_after>.. _vim-pathogen:

Install and setup vim on Ubuntu 14.04
=====================================

**<note>**
I have upgraded to Ubuntu 16.04 and wrote another post about setting up vim_,
this time using vundle instead of pathogen.  Checkout the new post--
:ref:`vim-vundle` -- if that sounds interesting to you.
**</note>**

**Vim** is a powerful editor that can be used on your laptop/desktop and is
also typically found of any Linux server you might encounter.  As a result, I
started using **vim** as my main editor.  The Ubuntu install is simple:

.. code-block:: bash

    $ sudo apt-get install vim

.. more::
    
That's it, you're ready to edit.  A good place to start if you need to learn
more about **vim** is the main website: vim_ . Also be sure to check out the
`vim tutorials`_. 

Pathogen
--------

My next step is to add a variety of **vim plugins** that make (my) life easier.
To do this I use pathogen_  a
wonderful vim package manager. Installation is accomplished with the following
lines:

.. code-block:: bash

    $ mkdir -p ~/.vim/autoload ~/.vim/bundle;
    $ curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

If you don't have curl installed, use:

.. code-block:: bash

    $ sudo apt-get install curl
{'fraction_non_alphanumeric': 0.1294851794071763, 'fraction_numerical': 0.0078003120124804995, 'mean_word_length': 3.33277027027027, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5558128', 'n_tokens_mistral': 851, 'n_tokens_neox': 753, 'n_words': 366}