My VIM configuration
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autoload add pathogen Dec 30, 2017
bundle add tmux plugin Jan 5, 2018
spell clean up Jan 2, 2018
.gitmodules add tmux plugin Jan 5, 2018
LICENSE
README.md fix typo Apr 26, 2018
vimrc beautifications Aug 12, 2018

README.md

My VIM setup

This is my personal and individualized VIM setup. The main purpose of this repository is self-documentation, but feel free to use my configuration as starting point for yours!

Requirements

VIM

A installed version of VIM in version >=8.0 that is compiled with at least the following options is required:

 --enable-multibyte 
 --enable-perlinterp=dynamic
 --enable-rubyinterp=dynamic
 --enable-pythoninterp=yes
 --enable-python3interp=yes
 --enable-luainterp
 --with-luajit
 --enable-cscope
 --enable-gui=auto
 --with-features=huge
 --with-x
 --enable-fontset
 --enable-largefile
 --disable-netbeans

Python

To effiently write and edit python code, the VIM plugin pymode is used. Here are some of my most frequently used shortcuts:

  • <leader>b: Set a pdb break point
  • <leader>h: Show docstring
  • <leader>d: Go to definition
  • <leader>g: Go to first assignment

Latex

If you want to edit and compile latex code, make sure that pdflatex is installed.

Installation

The safest way to install this VIM configuration is by using my ansible role here, which takes care of the installation of all requirements, the build of VIM from the sources, and some other things that I find useful.

Without ansible, you can clone the repository with

git clone --recursive https://github.com/windisch/vim.git ~/.vim

As all plugins are included via submodules in git, do not forget to add --recursive. I also provided my vimrc, if you want to use it, run

ln -s ~/.vim/vimrc ~/.vimrc

Finally, the plugin command-t has to be build. To do so, run the following command in the directory ~/.vim/bundle/command-t/ruby/command-t/ext/command-t

ruby extconf.rb && make