-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
25,079 additions
and
74 deletions.
There are no files selected for viewing
1,509 changes: 1,509 additions & 0 deletions
1,509
.config/bat/themes/gruvbox/gruvbox (Dark) (Hard) NDC.tmTheme
Large diffs are not rendered by default.
Oops, something went wrong.
21,938 changes: 21,938 additions & 0 deletions
21,938
.config/bat/themes/gruvbox/gruvbox (Dark) (Hard).sublime-theme
Large diffs are not rendered by default.
Oops, something went wrong.
1,509 changes: 1,509 additions & 0 deletions
1,509
.config/bat/themes/gruvbox/gruvbox (Dark) (Hard).tmTheme
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,4 +1,4 @@ | ||
snippet prexec_time | ||
snippet exectime | ||
{ | ||
auto start__ = std::chrono::high_resolution_clock::now(); | ||
${0:${VISUAL}} | ||
|
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 @@ | ||
extends c |
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,6 @@ | ||
snippet exectime | ||
local __dbg_t = os.clock() | ||
${0:${VISUAL}} | ||
print(string.format("elapsed time1: %.2f\n", os.clock() - __dbg_t)) | ||
endsnippet | ||
|
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 @@ | ||
extends c |
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
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,31 +1,45 @@ | ||
[commit] | ||
gpgsign = true | ||
|
||
[core] | ||
filemode = false | ||
editor = nvim | ||
pager = diff-so-fancy | less --tabs=4 -RFX | ||
quotePath = false | ||
|
||
[diff] | ||
tool = kitty | ||
|
||
[difftool] | ||
prompt = false | ||
trustExitCode = true | ||
|
||
[difftool "kitty"] | ||
cmd = kitty +kitten diff $LOCAL $REMOTE | ||
|
||
[alias] | ||
open = !nvim `git-open.sh` | ||
# Gitlab | ||
# git glmr origin 5 | ||
glmr = !sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' - | ||
undo = reset --soft HEAD~1 | ||
amend = !git log -n 1 --pretty=tformat:%s%n%n%b | git commit -F - --amend | ||
tree = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset' | ||
# Github review | ||
# git review 4 | ||
review= "!f() { git fetch origin pull/$1/head:pr/$1 && git checkout pr/$1; }; f" | ||
# Gitlab review | ||
# git review-gitlab origin 5 | ||
review-gitlab = !sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' - | ||
|
||
[filter "lfs"] | ||
required = true | ||
clean = git-lfs clean -- %f | ||
smudge = git-lfs smudge -- %f | ||
process = git-lfs filter-process | ||
|
||
[github] | ||
user = jubnzv | ||
|
||
[user] | ||
name = Georgy Komarov | ||
email = jubnzv@gmail.com | ||
|
||
[includeIf "gitdir:~/Work/*"] | ||
path = ~/.gitconfig.work |
Oops, something went wrong.