--- /dev/null
+# ~/.editorconfig
+
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
who = shortlog -s --
remotes = remote -v
root = rev-parse --show-toplevel
-
+
cl = clone --recursive
# Show the diff between the latest commit and the current state
credit = "!f() { git commit --amend --author \"$1 <$2>\" -C HEAD; }; f"
# List contributors with number of commits
contributors = shortlog --summary --numbered
-
+
k = !gitk
ctags = "!sh -c '[ -f .git/hooks/ctags ] || git init; .git/hooks/ctags' git-ctags"
status = auto
branch = auto
interactive = auto
- grep = auto
+ grep = auto
[github]
user = jannikz
[help]
Plug 'junegunn/fzf.vim'
Plug 'thanthese/Tortoise-Typing'
Plug 'altercation/vim-colors-solarized'
+Plug 'editorconfig/editorconfig-vim'
call plug#end()
"For airline
"let g:airline#extensions#tabline#enabled = 1
+let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
+let g:EditorConfig_verbose=1
+
" }}}2
" Section: Commands {{{1
"-----------------------