From 76137abc72ad7fa1d0f718d7c2cf7c5b65189465 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sat, 23 Sep 2023 11:18:30 +0800 Subject: [PATCH] feat: add `force` option for removing/creating/renaming --- docusaurus.config.js | 6 +++++- usage/configuration/keymap.md | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 953fe473..508df08b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -87,6 +87,10 @@ const config = { label: "Usage", to : "/docs/usage/installation", }, + { + label: "Showcase", + to : "/docs/showcase", + }, ], }, { @@ -119,7 +123,7 @@ const config = { copyright: `Copyright © ${new Date().getFullYear()} Yazi. Built with ❤️️.`, }, prism: { - theme : lightCodeTheme, + theme: lightCodeTheme, darkTheme: darkCodeTheme, }, }, diff --git a/usage/configuration/keymap.md b/usage/configuration/keymap.md index 7e2fac6a..bb225b1f 100644 --- a/usage/configuration/keymap.md +++ b/usage/configuration/keymap.md @@ -68,10 +68,17 @@ If you haven't created and used your own configuration file yet, please see: [Co - remove: Move the files to the trash/recycle bin. + - `--force`: Don't show the confirmation dialog, and trash/delete files directly. - `--permanently`: Permanently delete the files. - create: Create a file or directory (ends with `/` for directories). + +- `--force`: Overwrite the destination file directly if it exists, without showing the confirmation dialog. + - rename: Rename a file or directory. + + - `--force`: Overwrite the destination file directly if it exists, without showing the confirmation dialog. + - copy: Copy the path of files or directories that are selected or hovered on. - `path`: Copy the absolute path.