jj: fancy 's' command as default

new `util exec` is very nice 😀
This commit is contained in:
Daniel Lundin 2025-01-13 18:40:36 +01:00
parent eb06ace77d
commit 62246715bb
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI

View file

@ -65,12 +65,7 @@ in
}; };
ui = { ui = {
"default-command" = [ "default-command" = [ "s" ];
"log"
"--limit=10"
"-T"
"builtin_log_comfortable"
];
pager = "delta"; pager = "delta";
}; };
@ -112,23 +107,28 @@ in
]; ];
d = [ d = [
"diff" "diff"
"--tool=difftu" "--tool=difft"
]; ];
dd = [ dd = [
"diff" "diff"
"--git" "--git"
]; ];
ds = [ du = [
"diff" "diff"
"--tool=difft"
];
s = [
"show"
"--tool=difftu" "--tool=difftu"
]; ];
ss = [ s = [
"show" "util"
"--tool=difft" "exec"
"--"
"bash"
"-c"
''
printf '\e[38;5;240m\u2504%.0s\e[0m' $(seq 1 $(tput cols)) '\n'
jj show --stat
printf '\e[38;5;240m\u2504%.0s\e[0m' $(seq 1 $(tput cols)) '\n'
jj log --limit=15 -T builtin_log_comfortable
''
]; ];
}; };