From: Jannik ZANDER Date: Wed, 18 May 2016 20:04:21 +0000 (+0200) Subject: Set autocrlf = true on laptop (windows) X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=bdc86a91793b04b5d9e6c8a5f801bc423aea1915;p=dotfiles.git Set autocrlf = true on laptop (windows) --- diff --git a/.bash/fzf.bash b/.bash/fzf.bash index 6f43718..77d2e66 100644 --- a/.bash/fzf.bash +++ b/.bash/fzf.bash @@ -1,5 +1,9 @@ # Setup fzf # --------- + + +if [ -d "/usr/local/opt/fzf" ]; then + if [[ ! "$PATH" == */usr/local/opt/fzf/bin* ]]; then export PATH="$PATH:/usr/local/opt/fzf/bin" fi @@ -18,3 +22,5 @@ fi # ------------ source "/usr/local/opt/fzf/shell/key-bindings.bash" + +fi diff --git a/.gitconfig b/.gitconfig index 440b713..336ce90 100644 --- a/.gitconfig +++ b/.gitconfig @@ -32,7 +32,7 @@ ready = rebase -i @{u} rbi = "!r() { git rebase -i HEAD~$1; }; r" ec = config --global -e - l = log --oneline --decorate + l = log --oneline --decorate --reverse lg = log --pretty=format:"%C(yellow)%h\\ %C(green)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph tail = !"git lg -10 HEAD" last = log -1 HEAD @@ -84,14 +84,6 @@ rebase = true [push] default = tracking -[include] - path = ~/.gitconfig_local -[init] - templatedir = ~/.git_template -[core] - excludesfile = ~/.gitignore_global - autocrlf = false - editor = vim [diff] tool = vimdiff [difftool] @@ -101,3 +93,10 @@ conflictstyle = diff3 [mergetool] prompt = false +[init] + templatedir = ~/.git_template +[core] + excludesfile = ~/.gitignore_global + editor = vim +[include] + path = ~/.gitconfig_local diff --git a/.vimrc b/.vimrc index 6447bb9..b2e26bb 100644 --- a/.vimrc +++ b/.vimrc @@ -25,6 +25,8 @@ Plug 'junegunn/fzf.vim' Plug 'thanthese/Tortoise-Typing' Plug 'altercation/vim-colors-solarized' Plug 'editorconfig/editorconfig-vim' +Plug 'scrooloose/nerdtree' +Plug 'vim-scripts/a.vim' call plug#end() @@ -95,8 +97,8 @@ let g:fzf_launcher = "In_a_new_term_function %s" "let g:airline#extensions#tabline#enabled = 1 let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*'] -let g:EditorConfig_verbose=1 - +let g:EditorConfig_verbose=1 +let g:NERDTreeWinSize=30 " }}}2 " Section: Commands {{{1 "-----------------------