Last active
July 12, 2025 15:36
-
-
Save cskeeters/f2692eb724fcf8be653c44c98bd89e83 to your computer and use it in GitHub Desktop.
Patch for reverting H and L behavior in yazi
This file contains hidden or 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
diff --git a/yazi-core/src/tab/commands/cd.rs b/yazi-core/src/tab/commands/cd.rs | |
index 887a6b76..7b5d52b0 100644 | |
--- a/yazi-core/src/tab/commands/cd.rs | |
+++ b/yazi-core/src/tab/commands/cd.rs | |
@@ -73,9 +73,7 @@ impl Tab { | |
} | |
// Backstack | |
- if opt.source.big_jump() && opt.target.is_regular() { | |
- self.backstack.push(&opt.target); | |
- } | |
+ self.backstack.push(&opt.target); | |
Pubsub::pub_from_cd(self.id, self.cwd()); | |
self.hover(None); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment