Skip to content

Commit

Permalink
docs: smart-enter multi file support (#111)
Browse files Browse the repository at this point in the history
Co-authored-by: sxyazi <[email protected]>
  • Loading branch information
Zeioth and sxyazi authored Aug 5, 2024
1 parent 9363cf6 commit 8904520
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ run = "plugin --sync smart-enter"
desc = "Enter the child directory, or open the file"
```

This plugin adds `hovered = true` to make the behavior of [`open`](/docs/configuration/keymap#manager.open) consistent with [`enter`](/docs/configuration/keymap#manager.enter) avoiding accidental triggers,
which means both will only target the currently hovered file. If you still want `open` to target multiple selected files, set it to `false`.

## Smart paste: `paste` files without entering the directory {#smart-paste}

Save these lines as `~/.config/yazi/plugins/smart-paste.yazi/init.lua`:
Expand Down

0 comments on commit 8904520

Please sign in to comment.