These are my Vim configuration files. There are many like it, but these are mine.
This files are meant to be used with Neovim and
only contains a minimal vimrc for vim
.
# Backup your .nvim and .nvimrc before running this.
git clone https://github.com/aliou/dotvim.git ~/.dotvim
mkdir -p ~/.config
ln -s ~/.dotvim/nvim ~/.config/nvim
ln -s ~/.dotvim/vim ~/.vim
ln -s ~/.dotvim/vimrc ~/.vimrc
# Then install Vundle and the other plugins:
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
# Install vim-plug and the other plugins.
curl -fLo ~/.nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
nvim +PlugInstall
# Make sure python is installed and run for plugin compatibility
pip install neovim
# Compile plugins e.g. [ctrlp-cmatcher](https://github.com/JazzCore/ctrlp-cmatcher/)
# Setup colorscheme and airline theme.
echo -e "color moriarty\nlet g:airline_theme='lucius'" >> ~/.nvimrc.local
# Download the upstream changes and apply your changes on top.
git stash && git pull --rebase && git stash pop
# Install eventual new plugins.
nvim +PlugInstall
# Remove eventual unused plugins.
nvim +PlugClean
Theses files are really tailored to my use and might not be the best for you. In this case, I recommend checking out @skwp's and @sjl's dotfiles.
If you are an Epitech student, remember to change these lines with your
login and name and set g:epitech_header
so the Epitech header is automatically
inserted for C, C++, Java and Make files like this:
" ~/.nvimrc
let g:epitech_header = 1