-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating to nvim and various configs
- Loading branch information
Showing
13 changed files
with
3,206 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,64 @@ | ||
[user] | ||
name = Travis Hall | ||
email = [email protected] | ||
name = Travis Hall | ||
email = [email protected] | ||
[core] | ||
editor = nvim | ||
[color] | ||
diff = auto | ||
status = auto | ||
branch = auto | ||
diff = auto | ||
status = auto | ||
branch = auto | ||
[alias] | ||
au = add --update | ||
ds = diff --staged # git ds - diff your staged changes == review before committing | ||
st = status -sb # smarter status - include tag and branch info | ||
fup = log --since '1 day ago' --oneline --author [email protected] | ||
ls = log --pretty=format:'%C(yellow)%h %C(blue)%ad%C(red)%d %C(reset)%s%C(green) [%cn]' --decorate --date=short | ||
lsv = log --pretty=format:'%C(yellow)%h %C(blue)%ad%C(red)%d %C(reset)%s%C(green) [%cn]' --decorate --date=short --numstat | ||
au = add --update | ||
ds = diff --staged # git ds - diff your staged changes == review before committing | ||
st = status -sb # smarter status - include tag and branch info | ||
fup = log --since '1 day ago' --oneline --author [email protected] | ||
ls = log --pretty=format:'%C(yellow)%h %C(blue)%ad%C(red)%d %C(reset)%s%C(green) [%cn]' --decorate --date=short | ||
lsv = log --pretty=format:'%C(yellow)%h %C(blue)%ad%C(red)%d %C(reset)%s%C(green) [%cn]' --decorate --date=short --numstat | ||
|
||
r = reset | ||
rh = reset --hard | ||
r = reset | ||
rh = reset --hard | ||
|
||
cp = cherry-pick | ||
cl = clone | ||
ci = commit | ||
co = checkout | ||
br = branch | ||
diff = diff --word-diff | ||
dc = diff --cached | ||
pom = push origin master | ||
cp = cherry-pick | ||
cl = clone | ||
ci = commit | ||
co = checkout | ||
br = branch | ||
diff = diff --word-diff | ||
dc = diff --cached | ||
pom = push origin master | ||
|
||
sl = stash list | ||
sa = stash apply | ||
ss = stash save | ||
sl = stash list | ||
sa = stash apply | ||
ss = stash save | ||
|
||
l = log | ||
lh = log --graph | ||
la = !git lh --date-order --all 2> /dev/null | ||
lb = log --graph --simplify-by-decoration | ||
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | ||
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | ||
lg = !git lg1 | ||
lba = !git lb --all | ||
h = !git --no-pager log --graph -n 15 | ||
a = !git --no-pager la -n 15 | ||
l = log | ||
lh = log --graph | ||
la = !git lh --date-order --all 2> /dev/null | ||
lb = log --graph --simplify-by-decoration | ||
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | ||
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | ||
lg = !git lg1 | ||
lba = !git lb --all | ||
h = !git --no-pager log --graph -n 15 | ||
a = !git --no-pager la -n 15 | ||
|
||
ignored = !git ls-files -v | grep '^[[:lower:]]' | ||
forget = update-index --assume-unchanged | ||
remember = update-index --no-assume-unchanged | ||
|
||
dci = duet-commit | ||
drv = duet-revert | ||
dmg = duet-merge | ||
drb = rebase -i --exec 'git duet-commit --amend --reset-author' | ||
ignored = !git ls-files -v | grep '^[[:lower:]]' | ||
forget = update-index --assume-unchanged | ||
remember = update-index --no-assume-unchanged | ||
[diff] | ||
tool = vimdiff | ||
tool = nvim -d | ||
[difftool] | ||
prompt = false | ||
[difftool "meld"] | ||
trustExitCode = true | ||
cmd = open -W -a Meld --args \"$LOCAL\" \"$PWD/$REMOTE\" | ||
prompt = false | ||
[merge] | ||
tool = vimdiff | ||
tool = nvim -d | ||
conflictstyle = diff3 | ||
[mergetool] | ||
prompt = false | ||
[mergetool "meld"] | ||
trustExitCode = true | ||
cmd = open -W -a Meld --args --auto-merge \"$PWD/$LOCAL\" \"$PWD/$BASE\" \"$PWD/$REMOTE\" --output=\"$PWD/$MERGED\" | ||
[gitreview] | ||
remote = origin | ||
[duet "env"] | ||
git-author-initials = th | ||
git-author-name = Travis Hall | ||
git-author-email = [email protected] | ||
mtime = 1502917004 | ||
git-committer-initials = | ||
git-committer-name = | ||
git-committer-email = | ||
[url "[email protected]:"] | ||
insteadOf = https://github.com/ | ||
[url "[email protected]:"] | ||
insteadof = https://gitlab.eng.vmware.com/ | ||
[pull] | ||
rebase = false | ||
[init] | ||
defaultBranch = main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vim/plugged/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.