74

GitHub - gpakosz/.vim: Sensible yet opinionated Vim configuration

 6 years ago
source link: https://github.com/gpakosz/.vim
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Vim configuration

My slick + opinionated .vimrc configuration file.

Features

This Vim configuration comes in two flavors (branches):

  • vanilla: a self-contained .vimrc configuration file.
  • heavenly: everything present in vanilla + many plugins.

Plugin management is based on Tim Pope's pathogen.

List of plugins in the "heavenly" branch:

Colorschemes:

Enhancements:

Syntax:

Installation

Linux, Mac, Cygwin

$ cd
$ rm -rf .vim
$ git clone https://github.com/gpakosz/.vim.git
$ ln -s .vim/.vimrc

For the heavenly branch:

$ cd .vim
$ git checkout heavenly
$ git submodule init && git submodule update

Windows

Installing this Vim configuration under Windows is similar to Linux, Mac and Cygwin: clone the Git repository in your Windows' user profile and then create a symbolic link using the Link Shell Extension tool.

Customization

If you want to adjust the configuration, create a .vimrc.local file in your home directory.

For the heavenly branch:

If you want to disable plugins, create a .pathogen_disabled file in your home and list plugins to be disabled (one plugin per line where plugin corresponds to the bundle/plugin directory).


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK