From f9d0401132aac413da63e96ddca23f6ba731230e Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 22 Feb 2025 11:00:12 +0100 Subject: [PATCH] jj: Mirror edit next with edit previous alias This new alias setup provides four quick traversal options: Moving ahead one commit (`jen` for edit next), backwards (`jep` for edit previous), as well as doing the same but creating new 'working copies' instead of going directly to a commit (`jenn` and `jepp`). --- vcs/jj/config/sh/alias.d/jj.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcs/jj/config/sh/alias.d/jj.sh b/vcs/jj/config/sh/alias.d/jj.sh index 4c603c7..ad55ec0 100644 --- a/vcs/jj/config/sh/alias.d/jj.sh +++ b/vcs/jj/config/sh/alias.d/jj.sh @@ -27,7 +27,10 @@ alias jd="jj diff" # for describe-and-edit workflows # https://steveklabnik.github.io/jujutsu-tutorial/real-world-workflows/the-edit-workflow.html alias je="jj edit" -alias jee="jj next --edit" +alias jen="jj next --edit" +alias jep="jj prev --edit" +alias jenn="jj next" +alias jepp="jj prev" # for squash-and-go workflows # https://steveklabnik.github.io/jujutsu-tutorial/real-world-workflows/the-squash-workflow.html