From 5b0acb62f78959bb82006dae4a755a03eb30f355 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Mon, 4 Dec 2023 00:17:25 +0800 Subject: [PATCH] docs: add drag and drop tip --- docs/tips.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/tips.md b/docs/tips.md index c8441727..776934e5 100644 --- a/docs/tips.md +++ b/docs/tips.md @@ -90,6 +90,18 @@ You can change the `` of input component from the default `escape` to `clos To exiting input directly, without entering Vi mode, making it behave like a regular input box. +## Drag and drop via [`dragon`](https://github.com/mwh/dragon) + +Original post: https://github.com/sxyazi/yazi/discussions/327 + +```toml +{ on = [ "" ], exec = ''' + shell 'dragon -x -i -T "$1"' --confirm +''' } +``` + +Please make sure that `` does not conflict with your other keys. + ## No status bar