git: difftool
Signed-off-by: Michael Grote <michael.grote@dataport.de>
This commit is contained in:
parent
f73ab7d8e3
commit
666cc8b661
3 changed files with 11 additions and 1 deletions
|
@ -275,7 +275,7 @@ alias gs="git status"
|
||||||
alias gf="git fetch"
|
alias gf="git fetch"
|
||||||
alias gdel="git reset --hard ; git clean -f"
|
alias gdel="git reset --hard ; git clean -f"
|
||||||
alias glast="git log -1 HEAD --stat"
|
alias glast="git log -1 HEAD --stat"
|
||||||
alias gd="git diff"
|
alias gd="git difftool"
|
||||||
alias gsp="git stage -p"
|
alias gsp="git stage -p"
|
||||||
# docker
|
# docker
|
||||||
alias dcu="docker-compose up"
|
alias dcu="docker-compose up"
|
||||||
|
|
|
@ -36,3 +36,6 @@ addEmptyPathspec = false
|
||||||
verbose = true
|
verbose = true
|
||||||
[rerere]
|
[rerere]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
[diff]
|
||||||
|
tool = vimdiff
|
||||||
|
|
||||||
|
|
7
.vimrc
7
.vimrc
|
@ -34,6 +34,8 @@ Plugin 'ConradIrwin/vim-bracketed-paste'
|
||||||
Plugin 'mbbill/undotree'
|
Plugin 'mbbill/undotree'
|
||||||
" highlight yanked text
|
" highlight yanked text
|
||||||
Plugin 'machakann/vim-highlightedyank'
|
Plugin 'machakann/vim-highlightedyank'
|
||||||
|
" nord theme für vimdiff
|
||||||
|
Plugin 'nordtheme/vim'
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
|
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
|
@ -244,3 +246,8 @@ autocmd FileType yml setlocal ai ts=2 sw=2 et
|
||||||
|
|
||||||
" timeouts
|
" timeouts
|
||||||
set timeoutlen=100
|
set timeoutlen=100
|
||||||
|
|
||||||
|
" set colorscheme for vimdiff
|
||||||
|
if &diff
|
||||||
|
colorscheme nord
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue