This repository contains common linux configuration. Thanks to git, it can be cloned on each (virtual) machine to deploy and machine configuration can be harmonized.
use this bash one-liner:
cd ~ && git clone --recursive [email protected]:benIT/personal-linux-config.git && cd personal-linux-config && ./install.sh
or:
git clone https://github.com/benIT/personal-linux-config.git
cd personal-linux-config
git submodule init
git submodule update
wget -qO- https://github.com/benIT/personal-linux-config/releases/download/v0.0.1/personal-linux-config.tgz | tar -xzv && cd ~/personal-linux-config && ./install.sh
in Vim, run :PluginInstall
Run that command to update sources:
cd ~/personal-linux-config && git pull origin master
Vundle.vim has been chosen to manage VIM plugins
The installer will create a symlink to link ~/.vim/
and personal-linux-config/.vim
folders.
The installer will add a line in ~/.vimrc
to source the content of personal-linux-config/.vim/.vimrc
.
Add a line in personal-linux-config/.vim/.vimrc
to make Vundle.vim track this plugin.
User Ctrl+ww
to switch between the tree window and the file window.
Run first:
git mergetool
This config is set with vimdiff as diff tool. Here are some handy shortcut with this tool:
:diffg RE " get from REMOTE
:diffg BA " get from BASE
:diffg LO " get from LOCAL
Use :wqa
to quit all files when done.