Compare commits

..

16 commits

Author SHA1 Message Date
621a555c25
feat(git): push only current branch, and only if upstream matches 2025-02-26 08:45:13 +01:00
88c22f7b6a
feat(git): automatically push tags 2025-02-26 08:44:51 +01:00
dc22952892
feat(git): automatically set-upstream on push 2025-02-26 08:44:09 +01:00
5bcecad8b6
feat(git): update dependent branches on rebase 2025-02-26 08:37:03 +01:00
325ddabe3c
feat(git): sort tags by version number 2025-02-26 08:36:36 +01:00
ca135b4935
feat(git): auto-stage rerere results 2025-02-26 08:34:30 +01:00
bc21047420
feat(git): show merge conflicts in 3-way style 2025-02-26 08:23:04 +01:00
f73891c335
feat(git): always fetch all and prune 2025-02-26 08:22:41 +01:00
555d229cf1
feat(git): use improved diff algos 2025-02-26 08:20:45 +01:00
7a23d06079
feat(git): show diff in commit-message editor 2025-02-26 08:19:58 +01:00
3b959ee112
feat(git): use multi-column output for branches and tags 2025-02-26 08:19:13 +01:00
c74cd97351
feat(git): speed-up large repo handling 2025-02-26 08:18:22 +01:00
a131d538c8
feat(git): sort branches by commit date 2025-02-26 08:17:31 +01:00
d229371421
feat(nvim): add pyright language server 2025-02-26 08:08:40 +01:00
45472e0722
chore: nix flake update 2025-02-20 10:09:57 +01:00
9533f9c169
feat(shell): add devenv 2025-02-20 10:09:26 +01:00
6 changed files with 59 additions and 18 deletions

12
flake.lock generated
View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1736204492,
"narHash": "sha256-CoBPRgkUex9Iz6qGSzi/BFVUQjndB0PmME2B6eEyeCs=",
"lastModified": 1739992710,
"narHash": "sha256-9kEscmGnXHjSgcqyJR4TzzHhska4yz1inSQs6HuO9qU=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "20665c6efa83d71020c8730f26706258ba5c6b2a",
"rev": "1c189f011447810af939a886ba7bee33532bb1f9",
"type": "github"
},
"original": {
@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1736012469,
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
"lastModified": 1739866667,
"narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
"rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680",
"type": "github"
},
"original": {

View file

@ -26,14 +26,35 @@
};
extraConfig = {
core.editor = "nvim";
core.pager = "less -FX";
branch.sort = "-committerdate";
diff.ignoreSubmodules = "none";
core = {
editor = "nvim";
fsmonitor = true;
pager = "less -FX";
untrackedCache = true;
};
fetch.parallel = 8;
fetch.writeCommitGraph = true;
fetch.recurseSubmodules = true;
column.ui = "auto";
commit.verbose = true;
diff = {
algorithm = "histogram";
colorMoved = "plain";
ignoreSubmodules = "none";
mnemonicPrefix = true;
renames = true;
};
fetch = {
all = true;
parallel = 8;
prune = true;
pruneTags = true;
recurseSubmodules = true;
writeCommitGraph = true;
};
format.pretty = "format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s";
@ -41,8 +62,11 @@
log.date = "relative";
merge.ff = false;
merge.tool = "nvim";
merge = {
conflictstyle = "zdiff3";
ff = false;
tool = "nvim";
};
mergetool.nvim.cmd = "nvim -d $BASE $LOCAL $REMOTE $MERGED -c 'DiffviewOpen'";
mergetool.nvim.trustExitCode = false;
@ -52,17 +76,31 @@
pull.rebase = true;
push.recurseSubmodules = "on-demand";
push = {
autoSetupRemote = true;
default = "simple";
followTags = true;
recurseSubmodules = "on-demand";
};
rebase.autostash = true;
rebase = {
qutoSquash = true;
autoStash = true;
updateRefs = true;
};
rerere.enabled = true;
rerere = {
autoupdate = true;
enabled = true;
};
status.submoduleSummary = true;
submodule.fetchJobs = 8;
submodule.recurse = true;
tag.sort = "version:refname";
worktree.guessRemote = true;
};

View file

@ -122,6 +122,8 @@
nixd
nixpkgs-fmt
bitbake-language-server
pyright
(python3.withPackages (ps: with ps; [
pep8
autopep8

View file

@ -113,6 +113,7 @@ local servers = {
}
}
},
["pyright"] = {},
["texlab"] = {},
["yamlls"] = {
yaml = {

View file

@ -1,6 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
devenv
difftastic
dust
htop

View file

@ -7,7 +7,6 @@
gs = "git status";
gd = "git diff";
gf = "git fetch";
gfp = "git fetch --prune";
k = "kubectl";
ww = "nvim -c VimwikiIndex";
};