From 9d4f4fd39f2a8df380157a0c3bc590e9c7f69e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 20 Aug 2016 10:20:59 +0200 Subject: [PATCH 1/2] Normalize the .gitignore --- .gitconfig_includes.common | 58 +++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.gitconfig_includes.common b/.gitconfig_includes.common index bfc7767e..5dd2b45e 100644 --- a/.gitconfig_includes.common +++ b/.gitconfig_includes.common @@ -1,29 +1,29 @@ -[user] - name = Cyryl PÅ‚otnicki-Chudyk - email = cyplo@cyplo.net -[color] - ui = true -[help] - autocorrect = 1 -[push] - default = simple -[core] - pager = cat -[alias] - tree = log --show-signature --color --decorate --date=short --all --graph -n 9 - head = log HEAD -n1 -[core] - autocrlf = false -[diff] - tool = vimdiff -[difftool] - prompt = false -[difftool "vimdiff"] - cmd = vim -f '+next' '+execute \"DirDiff\" argv(0) argv(1)' $LOCAL $REMOTE '+syntax off' -[merge] - tool = kdiff3 -[mergetool] - keepBackup = false -[pager] - diff = diff-so-fancy | less --tabs=1,5 -RFX - show = diff-so-fancy | less --tabs=1,5 -RFX +[user] + name = Cyryl PÅ‚otnicki + email = cyplo@cyplo.net +[color] + ui = true +[help] + autocorrect = 1 +[push] + default = simple +[core] + pager = cat +[alias] + tree = log --show-signature --color --decorate --date=short --all --graph -n 8 + head = log HEAD -n1 +[core] + autocrlf = false +[diff] + tool = vimdiff +[difftool] + prompt = false +[difftool "vimdiff"] + cmd = vim -f '+next' '+execute \"DirDiff\" argv(0) argv(1)' $LOCAL $REMOTE '+syntax off' +[merge] + tool = kdiff3 +[mergetool] + keepBackup = false +[pager] + diff = diff-so-fancy | less --tabs=1,5 -RFX + show = diff-so-fancy | less --tabs=1,5 -RFX From f142a62cd505addeb3faa78fb1d249bbdfd40ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 20 Aug 2016 10:21:24 +0200 Subject: [PATCH 2/2] Eplicit Unix line endings by default in Vim --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 912ef225..037ebb11 100755 --- a/.vimrc +++ b/.vimrc @@ -78,6 +78,9 @@ Plugin 'Valloric/YouCompleteMe' call vundle#end() filetype plugin indent on +" line ending +set fileformats=unix,dos + " colours set t_Co=256 syntax enable