From a53e13399994738afede4cfa2cd3d65c5cea6aee Mon Sep 17 00:00:00 2001 From: sxyazi Date: Wed, 7 Aug 2024 06:40:24 +0800 Subject: [PATCH] docs: update dds, resources, tips --- docs/dds.md | 4 ++-- docs/resources.md | 6 +++++- docs/tips.md | 11 +---------- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/docs/dds.md b/docs/dds.md index 9dcdf74e..18baa385 100644 --- a/docs/dds.md +++ b/docs/dds.md @@ -414,7 +414,7 @@ Source code: https://github.com/sxyazi/yazi/blob/main/yazi-plugin/preset/plugins This plugin provides cross-instance yank ability, which means you can yank files in one instance, and then paste them in another instance. -To enable it, add these lines to your `init.lua`: +To enable it, add these lines to your `init.lua`, then restart _*all*_ Yazi instances to apply the changes: ```lua require("session"):setup { @@ -426,7 +426,7 @@ Source code: https://github.com/sxyazi/yazi/blob/main/yazi-plugin/preset/plugins ### `extract.lua` {#extract.lua} -The plugin provides an `extract` event kind for archive extraction, which accepts an array of file URL. You can bind it as [the opener](/docs/configuration/yazi#opener) for archives: +This plugin provides an `extract` event kind for archive extraction, which accepts an array of file URL. You can bind it as [the opener](/docs/configuration/yazi#opener) for archives: ```toml # ~/.config/yazi/yazi.toml diff --git a/docs/resources.md b/docs/resources.md index fcf0aad6..d8c78df8 100644 --- a/docs/resources.md +++ b/docs/resources.md @@ -77,6 +77,10 @@ File actions: - [bypass.yazi](https://github.com/Rolv-Apneseth/bypass.yazi) - Yazi plugin for skipping directories with only a single sub-directory. - [fast-enter.yazi](https://github.com/ourongxing/fast-enter.yazi) - Auto-decompress archives and enter them, or enter the deepest directory until it's not the only subdirectory. +`shell` enhancements: + +- [open-with-cmd.yazi](https://github.com/Ape/open-with-cmd.yazi) - Open files using a prompted command. + General command enhancements: - [augment-command.yazi](https://github.com/hankertrix/augment-command.yazi) - Enhances a few Yazi commands with better handling of the choice between selected items and the hovered item. @@ -90,7 +94,7 @@ UI enhancements: - [omp.yazi](https://github.com/saumyajyoti/omp.yazi) - oh-my-posh prompt plugin for Yazi. - [yatline.yazi](https://github.com/imsi32/yatline.yazi) - Customize header-line and status-line with an easy configuration. - [simple-status.yazi](https://github.com/Ape/simple-status.yazi) - Minimalistic status line with useful file attribute information. -- [open-with-cmd.yazi](https://github.com/Ape/open-with-cmd.yazi) - Open files using a prompted command. +- [no-status.yazi](https://github.com/yazi-rs/plugins/tree/main/no-status.yazi) - Remove the status bar. ## 🚀 Preloaders {#preloaders} diff --git a/docs/tips.md b/docs/tips.md index 018fd552..d7f111d0 100644 --- a/docs/tips.md +++ b/docs/tips.md @@ -251,16 +251,7 @@ run = "plugin --sync parent-arrow --args=1" -Add these lines to your `~/.config/yazi/init.lua`: - -```lua -function Status:render() return {} end - -local old_manager_render = Manager.render -function Manager:render(area) - return old_manager_render(self, ui.Rect { x = area.x, y = area.y, w = area.w, h = area.h + 1 }) -end -``` +Moved to https://github.com/yazi-rs/plugins/tree/main/no-status.yazi ## Show symlink in status bar {#symlink-in-status}