Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Feb 18, 2024
1 parent c165e7b commit 753d034
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion home/.alias
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ gbl() {
sed 's#^remotes/##'
}

gt() {
gtag() {
is_in_git_repo || return
git tag --sort -version:refname |
fzf-down --multi --preview-window right:70% \
Expand Down
7 changes: 5 additions & 2 deletions home/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
[diff]
mnemonicprefix = true
tool = vimdiff
algorithm = patience
algorithm = histogram
[diff "lisp"]
xfuncname="^(\\((def|test).*)$"
[diff "python"]
Expand All @@ -96,7 +96,10 @@
[log]
date = local
[merge]
tool = vimdiff
tool = nvim
conflictStyle = zdiff3
[mergetool "nvim"]
cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\""
#[mergetool "vimdiffnice"]
# cmd = vimdiff -c \"wincmd J\" -c \"/<<<<<<< \" $MERGED $LOCAL $BASE $REMOTE
[pretty]
Expand Down

0 comments on commit 753d034

Please sign in to comment.