/vimfiles

A lean setup for the Vim|Neovim editor.

Primary LanguageVim Script

Main features

  • Friendly GUI;
  • Change colorschemes as you wish (vim-colorschemes);
  • Code highlighting for: Markdown, Dockerfile, Ruby, Elixir, Python, Java, JavaScript and other languages;
  • Visually displays indent levels in code (vim-indent-guides);
  • Syntax checking (Synstatic);
  • Autocomplete (YouCompleteMe);
  • View code line diff instantly (Git Gutter);
  • Find patterns through serveral files (ag.vim);
  • Fast fuzzy finder (CtrlP);
  • Easy tab management: Command-number (⌘1, ⌘2 etc), Command-Tab (next tab), Command-Shift-Tab (previous tab).

Give it a try and enjoy :-)

Screenshot

Vim screenshot

Installation

1. Clone this repo:

cd  /usr/local/etc

Ps.: if you're on GNU/Linux, you may download it to "/usr/local/src".

git clone https://github.com/tiagopog/vimfiles.git

2. Make sure that Vim will find the vimrc file by symlinking it:

ln -s /usr/local/etc/vimfiles/vimrc ~/.vimrc

3. Install Vundle:

git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim

(for more information: https://github.com/gmarik/Vundle.vim)

4. Open Vim, press ENTER ignoring the warnings, and install the plugins:

vim .

Then enter:

:PluginInstall

5. Install and configure some plugin's dependencies:

5.1. For vim-colorschemes:

cd ~/.vim
ln -s bundle/vim-colorschemes/colors colors

5.2. For ag.vim:

OS X:

brew install the_silver_searcher

Ubuntu/Debian:

apt-get install silversearcher-ag

CentOS: try building it from source.

5.3. For YouCompleteMe:

$ cd ~/.vim/bundle/YouCompleteMe
$ ./install.py

5.4. Ruby + RVM:

As Vim loads your shell with set shell=/bin/sh, just make sure that your shell's .profile loads the RVM scripts.

TODO

  • Create (install|update).sh files in order to ease the (installation|updating) process;
  • Create a simple cheatsheet with the main commands for each plugin;
  • Run vim-test coupled with vim-dispatch;
  • Integrate Vim with Rubocop;
  • Integrate Vim with Reek.