From 4f7c7e2ddb22582dd5d9387a09e81fd9b86498a9 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Thu, 27 Jun 2024 20:51:26 +0800 Subject: [PATCH] docs: add diff.yazi to resources page --- docs/resources.md | 1 + docs/tips.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/docs/resources.md b/docs/resources.md index 04520dfe..9b2c5cf6 100644 --- a/docs/resources.md +++ b/docs/resources.md @@ -59,6 +59,7 @@ Bookmarks: File actions: - [chmod.yazi](https://github.com/yazi-rs/plugins/tree/main/chmod.yazi) - Execute `chmod` on the selected files to change their mode. +- [diff.yazi](https://github.com/yazi-rs/plugins/tree/main/diff.yazi) - Diff the selected file with the hovered file, create a living patch, and copy it to the clipboard. `filter` enhancements: diff --git a/docs/tips.md b/docs/tips.md index 4c3a7885..3c644005 100644 --- a/docs/tips.md +++ b/docs/tips.md @@ -23,6 +23,9 @@ Moved to https://github.com/yazi-rs/plugins/tree/main/full-border.yazi Add this keybinding to your `keymap.toml`: + + + ```toml [[manager.prepend_keymap]] on = [ "" ] @@ -30,6 +33,19 @@ run = 'shell "$SHELL" --block --confirm' desc = "Open shell here" ``` + + + +```toml +[[manager.prepend_keymap]] +on = [ "" ] +run = 'shell "powershell.exe" --block --confirm' +desc = "Open PowerShell here" +``` + + + + ## Close input by once Esc press {#close-input-by-esc} You can change the Esc of input component from the default `escape` to `close` command, in your `keymap.toml`: