Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 1.7 KB

README.md

File metadata and controls

79 lines (54 loc) · 1.7 KB

Configuration


Clone repository:

    cd /local/projects
    git clone https://github.com/p7cq/vim.git
    ln -s /local/projects/vim/.vim/vimrc ~/.vim/vimrc

Create a directory layout for Vim:

    mkdir -p ~/.vim/{autoload,bundle}
  • Download and install Tim Pope's Pathogen
    cd ~/.vim/autoload
    wget https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim -

Add yapf

    cd ../bundle
    git clone https://github.com/google/yapf
    cp yapf/plugins/vim/autoload/yapf.vim ../autoload
    cp -r yapf/plugins/vim/plugin ..

Add tabular

    git clone https://github.com/godlygeek/tabular.git

Add Markdown

    git clone https://github.com/plasticboy/vim-markdown

Add limelight

    git clone https://github.com/junegunn/limelight.vim

Add [goyo](git clone https://github.com/junegunn/goyo.vim)

    git clone https://github.com/junegunn/goyo.vim

Dark theme: Solarized 8

    git clone https://github.com/lifepillar/vim-solarized8

Light theme: Solarized:

    git clone git://github.com/altercation/vim-colors-solarized.git

Windows

Start Command Prompt as administrator, go to user home directory, create a copy of existing vimfiles directory and recreate it as a simlink to .vim directory (copied from a Linux machine):

mv vimfiles vimfiles.original
mklink /D .vim vimfiles