Skip to content

Commit

Permalink
docs: update bulk rename tip
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Oct 11, 2024
1 parent 750185a commit b39b96c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions docs/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,27 +353,29 @@ end, 500, Header.LEFT)

## Specify a different editor for bulk renaming {#bulk-editor}

**This tip currently requires Yazi nightly version.**

For bulk renaming, Yazi finds the first matching opener in your [`[open]`](/docs/configuration/yazi#open) rules with:

| | Value |
| ------- | -------------- |
| `block` | `true` |
| `name` | `"bulk.txt"` |
| `mime` | `"text/plain"` |
| | Value |
| ------- | ------------------- |
| `block` | `true` |
| `name` | `"bulk-rename.txt"` |
| `mime` | `"text/plain"` |

to use as the editor for editing the file list.

By default, this matches your editor used for opening normal text files, if you want to use an editor different from that:

```toml
# ~/.config/yazi/yazi.toml
[[opener.bulk-edit]]
[[opener.bulk-rename]]
run = 'hx "$@"'
block = true

[[open.prepend_rules]]
name = "bulk.txt"
use = "bulk-edit"
name = "bulk-rename.txt"
use = "bulk-rename"
```

## File tree picker in Helix with Zellij {#helix-with-zellij}
Expand Down

0 comments on commit b39b96c

Please sign in to comment.