Skip to content

Commit

Permalink
docs: update dds, resources, tips
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Aug 6, 2024
1 parent f29d2b4 commit a53e133
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docs/dds.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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
Expand Down
6 changes: 5 additions & 1 deletion docs/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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}

Expand Down
11 changes: 1 addition & 10 deletions docs/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,7 @@ run = "plugin --sync parent-arrow --args=1"

<img src={useBaseUrl("/img/no-status-bar.jpg")} width="600" />

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}

Expand Down

0 comments on commit a53e133

Please sign in to comment.