Skip to content

sixro/dotvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotvim

vim dotfiles

Summary

Introduction

This repository contains my personal vim configuration.
I prefer to remove vim configuration from the other repo dotfiles, because that one can become a mess rapidly if I have to maintain it for MacOs, Ubuntu, Windows, Cygwin, etc...
Instead, just the vim configuration is quiet stable between platforms.
To use it, assuming that you are in your $HOME folder, use the following command:

    git clone https://github.com/sixro/vim-java-maven/ .vim

To install all plugins, go under the .vim folder and execute:

    git submodule init
    git submodule update

To update all plugin:

    git submodule update --recursive --remote

How to install a new plugin

I followed the suggestions found in this video found on vimcasts.org

Basically, assuming that you are in your .vim folder, you have to use the following command:

    git submodule add GITREPO bundle/PLUGINNAME

I suggest to install in the same way even vim-pathogen. The vimrc assume that it is installed in that way.

Suggested plugins

Colors

In order to create a colorscheme you can run the following command:

    :so $VIMRUNTIME/syntax/hitest.vim

in order to see all syntax that can be highlighted.

Resources online

Articles

  • Follow my Leader by vimcasts.org
    Shows that sometimes, instead of using mappings on key, you can use operators and motions as keys of your plugins. There is also an interesting article where Tim Pope discuss this topic with Andrew Radev

Videos

All videos found on the following websites are very good:

Other videos that I liked a lot:

UltiSnips